|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.cache.AbstractNode<K,V>
org.jboss.cache.UnversionedNode<K,V>
public class UnversionedNode<K,V>
Basic data node class. Throws UnsupportedOperationException
for version-specific methods like getVersion()
and
setVersion(org.jboss.cache.optimistic.DataVersion)
, defined in NodeSPI
.
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
Debug log. |
protected static boolean |
trace
|
Fields inherited from class org.jboss.cache.AbstractNode |
---|
deleted, fqn, children, resident |
Constructor Summary | |
---|---|
|
UnversionedNode()
Constructs a new node with an FQN of Root. |
protected |
UnversionedNode(Object child_name,
Fqn fqn,
Map data,
boolean mapSafe,
CacheSPI cache)
Constructs a new node with a name, etc. |
Methods inherited from class org.jboss.cache.AbstractNode |
---|
equals, hashCode, isDeleted, isResident, markAsDeleted, markAsDeleted, setResident |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static org.apache.commons.logging.Log log
protected static boolean trace
Constructor Detail |
---|
public UnversionedNode()
protected UnversionedNode(Object child_name, Fqn fqn, Map data, boolean mapSafe, CacheSPI cache)
mapSafe
- true
if param data
can safely be directly assigned to this object's
data
field; false
if param data
's contents should be copied into
this object's data
field.Method Detail |
---|
public NodeSPI getDelegate()
public void setDelegate(NodeSPI delegate)
public NodeSPI getParent()
public CacheSPI getCache()
public boolean isChildrenLoaded()
public void setChildrenLoaded(boolean flag)
public Object get(Object key)
public Object getDirect(Object key)
public IdentityLock getLock()
public Map getDataDirect()
public Object put(Object key, Object value)
public Object putDirect(Object key, Object value)
public NodeSPI getOrCreateChild(Object child_name, GlobalTransaction gtx, boolean notify)
public Object remove(Object key)
public Object removeDirect(Object key)
public void printDetails(StringBuffer sb, int indent)
public String toString()
toString
in class Object
public void addChildDirect(NodeSPI child)
public NodeSPI addChildDirect(Fqn f)
public NodeSPI addChildDirect(Fqn f, boolean notify)
public NodeSPI addChildDirect(Object childName, boolean notify)
public void clearDataDirect()
public NodeSPI getChildDirect(Fqn fqn)
public Set<Object> getChildrenNamesDirect()
public Set<Object> getKeysDirect()
public boolean removeChildDirect(Object childName)
public boolean removeChildDirect(Fqn f)
public Map<Object,Node<K,V>> getChildrenMapDirect()
public void setChildrenMapDirect(Map<Object,Node<K,V>> children)
public void putAll(Map data)
public void putAllDirect(Map data)
public void removeChildrenDirect()
public void setVersion(DataVersion version)
public DataVersion getVersion()
public void addChild(Object child_name, Node n)
public Fqn getFqn()
public void setFqn(Fqn fqn)
public NodeSPI getChildDirect(Object childName)
public Set<NodeSPI> getChildrenDirect()
public boolean hasChildrenDirect()
public Set<NodeSPI> getChildrenDirect(boolean includeMarkedForRemoval)
public boolean isDataLoaded()
public void setDataLoaded(boolean dataLoaded)
public boolean isValid()
public void setValid(boolean valid, boolean recursive)
public boolean isLockForChildInsertRemove()
public void setLockForChildInsertRemove(boolean lockForChildInsertRemove)
public void setInternalState(Map state)
public Map getInternalState(boolean onlyInternalState)
public void releaseObjectReferences(boolean recursive)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |