Class ClientEnumUtil
- java.lang.Object
-
- com.alachisoft.ncache.client.util.ClientEnumUtil
-
public class ClientEnumUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ClientEnumUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.EnumSet<CacheStatusNotificationType>
EnumSetCacheStatus(java.util.List<CacheStatusNotificationType> types)
static ClientCacheSyncMode
getCacheClientSyncMode(java.lang.Integer value)
static com.alachisoft.ncache.client.internal.caching.CacheItemRemovedReason
getCacheItemRemovedReason(java.lang.Integer value)
static java.lang.String
getCacheItemRemovedReasonValue(com.alachisoft.ncache.client.internal.caching.CacheItemRemovedReason reason)
static CacheStatusNotificationType
getCacheStatusNotificationType(java.lang.String value)
static java.lang.String
getCacheStatusNotificationTypeValue(CacheStatusNotificationType type)
static int
getClientCacheSyncModeValue(ClientCacheSyncMode mode)
static DeliveryMode
getDeliveryMode(java.lang.String mode)
static java.lang.String
getDeliveryModeValue(DeliveryMode mode)
static DeliveryOption
getDeliveryOption(java.lang.Integer option)
static java.lang.String
getDeliveryOptionValue(DeliveryOption option)
static IsolationLevel
getIsolationLevel(java.lang.Integer value)
static int
getIsolationLevelValue(IsolationLevel options)
static LogLevel
getLogLevel(java.lang.Integer value)
static int
getLogLevelValue(LogLevel level)
static SubscriptionPolicy
getSubscriptionPolicy(java.lang.Integer value)
static java.lang.String
getSubscriptionPolicyValue(SubscriptionPolicy policy)
static TagSearchOptions
getTagSearchOptions(java.lang.Integer value)
static int
getTagSearchOptionsValue(TagSearchOptions options)
-
-
-
Method Detail
-
getTagSearchOptions
public static TagSearchOptions getTagSearchOptions(java.lang.Integer value)
-
getTagSearchOptionsValue
public static int getTagSearchOptionsValue(TagSearchOptions options)
-
getIsolationLevel
public static IsolationLevel getIsolationLevel(java.lang.Integer value)
-
getIsolationLevelValue
public static int getIsolationLevelValue(IsolationLevel options)
-
getCacheClientSyncMode
public static ClientCacheSyncMode getCacheClientSyncMode(java.lang.Integer value)
-
getClientCacheSyncModeValue
public static int getClientCacheSyncModeValue(ClientCacheSyncMode mode)
-
getCacheStatusNotificationType
public static CacheStatusNotificationType getCacheStatusNotificationType(java.lang.String value)
-
getCacheStatusNotificationTypeValue
public static java.lang.String getCacheStatusNotificationTypeValue(CacheStatusNotificationType type)
-
getDeliveryMode
public static DeliveryMode getDeliveryMode(java.lang.String mode)
-
getDeliveryModeValue
public static java.lang.String getDeliveryModeValue(DeliveryMode mode)
-
getDeliveryOption
public static DeliveryOption getDeliveryOption(java.lang.Integer option)
-
getDeliveryOptionValue
public static java.lang.String getDeliveryOptionValue(DeliveryOption option)
-
getSubscriptionPolicy
public static SubscriptionPolicy getSubscriptionPolicy(java.lang.Integer value)
-
getSubscriptionPolicyValue
public static java.lang.String getSubscriptionPolicyValue(SubscriptionPolicy policy)
-
getCacheItemRemovedReason
public static com.alachisoft.ncache.client.internal.caching.CacheItemRemovedReason getCacheItemRemovedReason(java.lang.Integer value)
-
getCacheItemRemovedReasonValue
public static java.lang.String getCacheItemRemovedReasonValue(com.alachisoft.ncache.client.internal.caching.CacheItemRemovedReason reason)
-
getLogLevel
public static LogLevel getLogLevel(java.lang.Integer value)
-
getLogLevelValue
public static int getLogLevelValue(LogLevel level)
-
EnumSetCacheStatus
public static java.util.EnumSet<CacheStatusNotificationType> EnumSetCacheStatus(java.util.List<CacheStatusNotificationType> types) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-