1 7 package org.jboss.cache.optimistic; 8 9 import org.jboss.cache.Fqn; 10 11 import java.util.Map ; 12 import java.util.SortedMap ; 13 14 22 23 public interface TransactionWorkspace 24 { 25 28 public Map <Fqn, WorkspaceNode> getNodes(); 29 30 33 public void setNodes(Map <Fqn, WorkspaceNode> nodes); 34 35 public WorkspaceNode getNode(Fqn fqn); 36 37 42 public void addNode(WorkspaceNode node); 43 44 47 public Object removeNode(Fqn fqn); 48 49 52 public SortedMap <Fqn, WorkspaceNode> getNodesAfter(Fqn fqn); 53 54 59 public boolean isVersioningImplicit(); 60 61 66 public void setVersioningImplicit(boolean versioningImplicit); 67 68 71 boolean hasNode(Fqn fqn); 72 } 73 | Popular Tags |