public enum InstanceCacheState extends Enum<InstanceCacheState>
| Enum Constant and Description |
|---|
DISCARD
The instance is INVALID, and it's size and LRU chain are invalid
|
LINKED
The instance is VALID, and has been properly linked and it's size is registered in the cache.
|
NONE
The instance is not properly linked yet.
|
| Modifier and Type | Method and Description |
|---|---|
static InstanceCacheState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceCacheState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceCacheState NONE
public static final InstanceCacheState LINKED
public static final InstanceCacheState DISCARD
public static InstanceCacheState[] values()
for (InstanceCacheState c : InstanceCacheState.values()) System.out.println(c);
public static InstanceCacheState 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 © 2017 etc.to. All rights reserved.