public enum EvictionStrategy extends Enum<EvictionStrategy>
Enum Constant and Description |
---|
FIFO
Deprecated.
|
LIRS |
LRU |
MANUAL |
NONE |
UNORDERED |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled() |
static EvictionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvictionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EvictionStrategy NONE
public static final EvictionStrategy UNORDERED
@Deprecated public static final EvictionStrategy FIFO
public static final EvictionStrategy LRU
public static final EvictionStrategy LIRS
public static final EvictionStrategy MANUAL
public static EvictionStrategy[] values()
for (EvictionStrategy c : EvictionStrategy.values()) System.out.println(c);
public static EvictionStrategy 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 nullpublic boolean isEnabled()
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.