|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.cache.optimistic.TransactionWorkspaceImpl<K,V>
@Deprecated public class TransactionWorkspaceImpl<K,V>
Contains a mapping of Fqn to WorkspaceNode
s.
Each entry corresponds to a series of changed nodes within the transaction.
Constructor Summary | |
---|---|
TransactionWorkspaceImpl()
Deprecated. |
Method Summary | |
---|---|
void |
addNode(WorkspaceNode<K,V> node)
Deprecated. Is thread safe so you dont need to deal with synchronising access to this method. |
void |
clearNodes()
Deprecated. Empties the collection of nodes held by this workspace. |
WorkspaceNode<K,V> |
getNode(Fqn fqn)
Deprecated. |
Map<Fqn,WorkspaceNode<K,V>> |
getNodes()
Deprecated. Returns the nodes. |
SortedMap<Fqn,WorkspaceNode<K,V>> |
getNodesAfter(Fqn fqn)
Deprecated. Returns all nodes equal to or after the given node. |
boolean |
hasNode(Fqn fqn)
Deprecated. returns true if the workspace contains a node with specified Fqn |
boolean |
isVersioningImplicit()
Deprecated. Tests if versioning is implicit for a given tx. |
WorkspaceNode<K,V> |
removeNode(Fqn fqn)
Deprecated. Is thread safe so you dont need to deal with synchronising access to this method. |
void |
setNodes(Map<Fqn,WorkspaceNode<K,V>> nodes)
Deprecated. Sets the nodes. |
void |
setVersioningImplicit(boolean versioningImplicit)
Deprecated. Sets if versioning is implicit for a given tx. |
String |
toString()
Deprecated. Returns debug information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransactionWorkspaceImpl()
Method Detail |
---|
public Map<Fqn,WorkspaceNode<K,V>> getNodes()
getNodes
in interface TransactionWorkspace<K,V>
WorkspaceNode
s, keyed on Fqn
public void clearNodes()
TransactionWorkspace
clearNodes
in interface TransactionWorkspace<K,V>
public void setNodes(Map<Fqn,WorkspaceNode<K,V>> nodes)
setNodes
in interface TransactionWorkspace<K,V>
nodes
- The nodes to set. Takes WorkspaceNode
s.public WorkspaceNode<K,V> getNode(Fqn fqn)
getNode
in interface TransactionWorkspace<K,V>
public void addNode(WorkspaceNode<K,V> node)
TransactionWorkspace
addNode
in interface TransactionWorkspace<K,V>
public WorkspaceNode<K,V> removeNode(Fqn fqn)
TransactionWorkspace
removeNode
in interface TransactionWorkspace<K,V>
public SortedMap<Fqn,WorkspaceNode<K,V>> getNodesAfter(Fqn fqn)
TransactionWorkspace
getNodesAfter
in interface TransactionWorkspace<K,V>
public boolean isVersioningImplicit()
TransactionWorkspace
isVersioningImplicit
in interface TransactionWorkspace<K,V>
public void setVersioningImplicit(boolean versioningImplicit)
TransactionWorkspace
setVersioningImplicit
in interface TransactionWorkspace<K,V>
public boolean hasNode(Fqn fqn)
TransactionWorkspace
hasNode
in interface TransactionWorkspace<K,V>
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |