public static enum LocalCachedMapOptions.StoreMode extends Enum<LocalCachedMapOptions.StoreMode>
Enum Constant and Description |
---|
LOCALCACHE
Store data only in local cache.
|
LOCALCACHE_REDIS
Store data only in both Redis and local cache.
|
Modifier and Type | Method and Description |
---|---|
static LocalCachedMapOptions.StoreMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocalCachedMapOptions.StoreMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalCachedMapOptions.StoreMode LOCALCACHE
public static final LocalCachedMapOptions.StoreMode LOCALCACHE_REDIS
public static LocalCachedMapOptions.StoreMode[] values()
for (LocalCachedMapOptions.StoreMode c : LocalCachedMapOptions.StoreMode.values()) System.out.println(c);
public static LocalCachedMapOptions.StoreMode 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–2020 Redisson. All rights reserved.