|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataNode
Represents a DataNode in the cache.
Field Summary | |
---|---|
static int |
LOCK_TYPE_NONE
Lock type of none. |
static int |
LOCK_TYPE_READ
Lock type of read. |
static int |
LOCK_TYPE_WRITE
Lock type of write. |
static boolean |
PRINT_LOCK_DETAILS
Initialized property for debugging "print_lock_details" |
static java.lang.String |
REMOVAL_MARKER
|
Method Summary | |
---|---|
boolean |
acquire(java.lang.Object caller,
long lock_acquisition_timeout,
int lockTypeWrite)
Returns true if a lock is acquired. |
java.lang.Object |
clone()
Returns a copy of this node. |
boolean |
isMarkedForRemoval()
|
void |
markForRemoval()
|
void |
unmarkForRemoval(boolean deep)
|
Methods inherited from interface org.jboss.cache.TreeNode |
---|
acquireAll, addChild, childExists, clear, containsKey, createChild, createChild, get, getChild, getChildren, getChildrenLoaded, getData, getDataKeys, getFqn, getImmutableLock, getLock, getName, getOrCreateChild, getParent, hasChildren, isLocked, numAttributes, print, printDetails, printIndent, printLockInfo, put, put, put, release, releaseAll, releaseAllForce, releaseForce, remove, removeAllChildren, removeChild, setChildren, setChildrenLoaded, setRecursiveTreeCacheInstance |
Field Detail |
---|
static final int LOCK_TYPE_NONE
static final int LOCK_TYPE_READ
static final int LOCK_TYPE_WRITE
static final java.lang.String REMOVAL_MARKER
static final boolean PRINT_LOCK_DETAILS
Method Detail |
---|
boolean acquire(java.lang.Object caller, long lock_acquisition_timeout, int lockTypeWrite) throws java.lang.InterruptedException, LockingException, TimeoutException
lock_acquisition_timeout
- milliseconds to waitlockTypeWrite
- lock type to use
java.lang.InterruptedException
LockingException
TimeoutException
java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
boolean isMarkedForRemoval()
void unmarkForRemoval(boolean deep)
void markForRemoval()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |