public enum ObjectPreemptionPriority extends java.lang.Enum<ObjectPreemptionPriority> implements java.io.Serializable
| Enum Constant and Description |
|---|
Normal
The associated object is a candidate for removal from StateServer memory if memory
pressure warrants.
|
NotRemovable
The associated object must remain in memory until its absolute or sliding expiration is
reached.
|
| Modifier and Type | Method and Description |
|---|---|
static ObjectPreemptionPriority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ObjectPreemptionPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectPreemptionPriority Normal
public static final ObjectPreemptionPriority NotRemovable
public static ObjectPreemptionPriority[] values()
for (ObjectPreemptionPriority c : ObjectPreemptionPriority.values()) System.out.println(c);
public static ObjectPreemptionPriority valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null