Package org.redisson.api
Enum LocalCachedMapOptions.ExpirationEventPolicy
java.lang.Object
java.lang.Enum<LocalCachedMapOptions.ExpirationEventPolicy>
org.redisson.api.LocalCachedMapOptions.ExpirationEventPolicy
- All Implemented Interfaces:
Serializable
,Comparable<LocalCachedMapOptions.ExpirationEventPolicy>
- Enclosing class:
LocalCachedMapOptions<K,
V>
public static enum LocalCachedMapOptions.ExpirationEventPolicy
extends Enum<LocalCachedMapOptions.ExpirationEventPolicy>
-
Enum Constant Summary
Enum ConstantDescriptionDon't subscribe on expire event.Subscribe on expire event using __keyevent@*:expired patternSubscribe on expire event using __keyspace@N__:name channel -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DONT_SUBSCRIBE
Don't subscribe on expire event. -
SUBSCRIBE_WITH_KEYEVENT_PATTERN
Subscribe on expire event using __keyevent@*:expired pattern -
SUBSCRIBE_WITH_KEYSPACE_CHANNEL
Subscribe on expire event using __keyspace@N__:name channel
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-