public enum ObjectPreemptionPriority extends Enum<ObjectPreemptionPriority> implements 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(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(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 (C) 2007-2014 ScaleOut Software, Inc.