|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.cache.optimistic.TransactionWorkspaceImpl
public class TransactionWorkspaceImpl
TODO: MANIK: Add proper javadocs
Constructor Summary | |
---|---|
TransactionWorkspaceImpl()
|
Method Summary | |
---|---|
void |
addNode(WorkspaceNode node)
Is thread safe so you dont need to deal with synchronising access to this method. |
TreeCache |
getCache()
|
WorkspaceNode |
getNode(Fqn fqn)
|
java.util.Map |
getNodes()
|
java.util.SortedMap |
getNodesAfter(Fqn fqn)
|
boolean |
isVersioningImplicit()
Tests if versioning is implicit for a given tx. |
java.lang.Object |
removeNode(Fqn fqn)
Is thread safe so you dont need to deal with synchronising access to this method. |
void |
setCache(TreeCache cache)
|
void |
setNodes(java.util.Map nodes)
|
void |
setVersioningImplicit(boolean versioningImplicit)
If set to true, the interceptor chain will handle versioning (implicit to JBossCache). |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransactionWorkspaceImpl()
Method Detail |
---|
public void setCache(TreeCache cache)
public TreeCache getCache()
public java.util.Map getNodes()
getNodes
in interface TransactionWorkspace
public void setNodes(java.util.Map nodes)
setNodes
in interface TransactionWorkspace
nodes
- The nodes to set.public WorkspaceNode getNode(Fqn fqn)
getNode
in interface TransactionWorkspace
public void addNode(WorkspaceNode node)
TransactionWorkspace
addNode
in interface TransactionWorkspace
public java.lang.Object removeNode(Fqn fqn)
TransactionWorkspace
removeNode
in interface TransactionWorkspace
public java.util.SortedMap getNodesAfter(Fqn fqn)
getNodesAfter
in interface TransactionWorkspace
public boolean isVersioningImplicit()
isVersioningImplicit
in interface TransactionWorkspace
public void setVersioningImplicit(boolean versioningImplicit)
setVersioningImplicit
in interface TransactionWorkspace
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |