public static enum LocalCachedMapOptions.SyncStrategy extends Enum<LocalCachedMapOptions.SyncStrategy>
| Enum Constant and Description |
|---|
INVALIDATE
Invalidate cache entry across all LocalCachedMap instances on map entry change.
|
NONE
No synchronizations on map changes.
|
UPDATE
Update cache entry across all LocalCachedMap instances on map entry change.
|
| Modifier and Type | Method and Description |
|---|---|
static LocalCachedMapOptions.SyncStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocalCachedMapOptions.SyncStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalCachedMapOptions.SyncStrategy NONE
public static final LocalCachedMapOptions.SyncStrategy INVALIDATE
public static final LocalCachedMapOptions.SyncStrategy UPDATE
public static LocalCachedMapOptions.SyncStrategy[] values()
for (LocalCachedMapOptions.SyncStrategy c : LocalCachedMapOptions.SyncStrategy.values()) System.out.println(c);
public static LocalCachedMapOptions.SyncStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2014–2018 The Redisson Project. All rights reserved.