org.jboss.cache.optimistic
Class TransactionWorkspaceImpl
java.lang.Object
|
+--org.jboss.cache.optimistic.TransactionWorkspaceImpl
- All Implemented Interfaces:
- TransactionWorkspace
- public class TransactionWorkspaceImpl
- extends java.lang.Object
- implements TransactionWorkspace
TODO: MANIK: Add proper javadocs
- Author:
- Manik Surtani (manik@jboss.org), Steve Woodcock (stevew@jofti.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TransactionWorkspaceImpl
public TransactionWorkspaceImpl()
setCache
public void setCache(TreeCache cache)
getCache
public TreeCache getCache()
getNodes
public java.util.Map getNodes()
- Specified by:
getNodes
in interface TransactionWorkspace
- Returns:
- Returns the nodes.
setNodes
public void setNodes(java.util.Map nodes)
- Specified by:
setNodes
in interface TransactionWorkspace
- Parameters:
nodes
- The nodes to set.
getNode
public WorkspaceNode getNode(Fqn fqn)
- Specified by:
getNode
in interface TransactionWorkspace
addNode
public void addNode(WorkspaceNode node)
- Description copied from interface:
TransactionWorkspace
- Is thread safe so you dont need to deal with synchronising access to this method.
- Specified by:
addNode
in interface TransactionWorkspace
- Parameters:
node
-
removeNode
public java.lang.Object removeNode(Fqn fqn)
- Description copied from interface:
TransactionWorkspace
- Is thread safe so you dont need to deal with synchronising access to this method.
- Specified by:
removeNode
in interface TransactionWorkspace
getNodesAfter
public java.util.SortedMap getNodesAfter(Fqn fqn)
- Specified by:
getNodesAfter
in interface TransactionWorkspace
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1998-2005 JBoss Inc . All Rights Reserved.