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 ClientCacheSyncModegetCacheClientSyncMode(java.lang.Integer value)static com.alachisoft.ncache.client.internal.caching.CacheItemRemovedReasongetCacheItemRemovedReason(java.lang.Integer value)static java.lang.StringgetCacheItemRemovedReasonValue(com.alachisoft.ncache.client.internal.caching.CacheItemRemovedReason reason)static CacheStatusNotificationTypegetCacheStatusNotificationType(java.lang.String value)static java.lang.StringgetCacheStatusNotificationTypeValue(CacheStatusNotificationType type)static intgetClientCacheSyncModeValue(ClientCacheSyncMode mode)static DeliveryModegetDeliveryMode(java.lang.String mode)static java.lang.StringgetDeliveryModeValue(DeliveryMode mode)static DeliveryOptiongetDeliveryOption(java.lang.Integer option)static java.lang.StringgetDeliveryOptionValue(DeliveryOption option)static IsolationLevelgetIsolationLevel(java.lang.Integer value)static intgetIsolationLevelValue(IsolationLevel options)static LogLevelgetLogLevel(java.lang.Integer value)static intgetLogLevelValue(LogLevel level)static SubscriptionPolicygetSubscriptionPolicy(java.lang.Integer value)static java.lang.StringgetSubscriptionPolicyValue(SubscriptionPolicy policy)static TagSearchOptionsgetTagSearchOptions(java.lang.Integer value)static intgetTagSearchOptionsValue(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
-
-