|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AbstractNode.NodeFlags> org.jboss.cache.AbstractNode.NodeFlags
public static enum AbstractNode.NodeFlags
These flags were originally stored as booleans on the UnversionedNode class. They have been replaced with an enum and an EnumSet, which is much more space-efficient for very little cost in lookups.
Enum Constant Summary | |
---|---|
CHILDREN_LOADED
All children are loaded from the cache loader if this flag is present. |
|
CHILDREN_MODIFIED_IN_WORKSPACE
Specific to Optimistic Locking Workspace nodes - set if a node has added or removed children in a workspace. |
|
CREATED_IN_WORKSPACE
Specific to Optimistic Locking Workspace nodes - set if a node has been created in a workspace. |
|
DATA_LOADED
Data is loaded from the cache loader if this flag is present. |
|
DELETED
Node has been deleted. |
|
LOCK_FOR_CHILD_INSERT_REMOVE
Node is write-locked when children are added or removed if this flag is enabled. |
|
MODIFIED_IN_WORKSPACE
Specific to Optimistic Locking Workspace nodes - set if a node has been modified in a workspace. |
|
RESIDENT
NOde is resident and excluded from evictions |
|
RESURRECTED_IN_WORKSPACE
Specific to Optimistic Locking Workspace nodes - set if a node has been resurrected in a workspace. |
|
VALID
Node is valid if this flag is present. |
|
VERSIONING_IMPLICIT
Specific to Optimistic Locking Workspace nodes - set if an implicit version is associated with this node. |
Field Summary | |
---|---|
protected short |
mask
|
Method Summary | |
---|---|
static AbstractNode.NodeFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AbstractNode.NodeFlags[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AbstractNode.NodeFlags CHILDREN_LOADED
public static final AbstractNode.NodeFlags DATA_LOADED
public static final AbstractNode.NodeFlags LOCK_FOR_CHILD_INSERT_REMOVE
public static final AbstractNode.NodeFlags VALID
public static final AbstractNode.NodeFlags DELETED
public static final AbstractNode.NodeFlags RESIDENT
public static final AbstractNode.NodeFlags MODIFIED_IN_WORKSPACE
public static final AbstractNode.NodeFlags CREATED_IN_WORKSPACE
public static final AbstractNode.NodeFlags CHILDREN_MODIFIED_IN_WORKSPACE
public static final AbstractNode.NodeFlags VERSIONING_IMPLICIT
public static final AbstractNode.NodeFlags RESURRECTED_IN_WORKSPACE
Field Detail |
---|
protected final short mask
Method Detail |
---|
public static final AbstractNode.NodeFlags[] values()
for(AbstractNode.NodeFlags c : AbstractNode.NodeFlags.values()) System.out.println(c);
public static AbstractNode.NodeFlags valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |