public static enum LocalCachedMapOptions.EvictionPolicy extends Enum<LocalCachedMapOptions.EvictionPolicy>
Enum Constant and Description |
---|
LFU
Least Frequently Used local cache.
|
LRU
Least Recently Used local cache.
|
NONE
Local cache without eviction.
|
SOFT
Local cache with Soft Reference used for values.
|
WEAK
Local cache with Weak Reference used for values.
|
Modifier and Type | Method and Description |
---|---|
static LocalCachedMapOptions.EvictionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocalCachedMapOptions.EvictionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalCachedMapOptions.EvictionPolicy NONE
public static final LocalCachedMapOptions.EvictionPolicy LRU
public static final LocalCachedMapOptions.EvictionPolicy LFU
public static final LocalCachedMapOptions.EvictionPolicy SOFT
public static final LocalCachedMapOptions.EvictionPolicy WEAK
public static LocalCachedMapOptions.EvictionPolicy[] values()
for (LocalCachedMapOptions.EvictionPolicy c : LocalCachedMapOptions.EvictionPolicy.values()) System.out.println(c);
public static LocalCachedMapOptions.EvictionPolicy 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.