public enum EvictionMode extends Enum<EvictionMode>
Enum Constant and Description |
---|
LFU
Least Frequently Used eviction algorithm.
|
LRU
Least Recently Used eviction algorithm.
|
Modifier and Type | Method and Description |
---|---|
static EvictionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvictionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EvictionMode LRU
public static final EvictionMode LFU
public static EvictionMode[] values()
for (EvictionMode c : EvictionMode.values()) System.out.println(c);
public static EvictionMode 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–2021 Redisson. All rights reserved.