Package org.redisson.api
Enum LocalCachedMapCacheOptions.SyncStrategy
java.lang.Object
java.lang.Enum<LocalCachedMapCacheOptions.SyncStrategy>
org.redisson.api.LocalCachedMapCacheOptions.SyncStrategy
- All Implemented Interfaces:
Serializable
,Comparable<LocalCachedMapCacheOptions.SyncStrategy>
- Enclosing class:
LocalCachedMapCacheOptions<K,
V>
public static enum LocalCachedMapCacheOptions.SyncStrategy
extends Enum<LocalCachedMapCacheOptions.SyncStrategy>
-
Enum Constant Summary
Enum ConstantDescriptionInvalidate local cache entry across all LocalCachedMap instances on map entry change.No synchronizations on map changes.Update local cache entry across all LocalCachedMap instances on map entry change. -
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
-
NONE
No synchronizations on map changes. -
INVALIDATE
Invalidate local cache entry across all LocalCachedMap instances on map entry change. Broadcasts map entry hash (16 bytes) to all instances. -
UPDATE
Update local cache entry across all LocalCachedMap instances on map entry change. Broadcasts full map entry state (Key and Value objects) to all instances.
-
-
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
-