Uses of Interface
org.jboss.cache.NodeSPI

Packages that use NodeSPI
org.jboss.cache   
org.jboss.cache.interceptors   
org.jboss.cache.loader   
org.jboss.cache.lock   
org.jboss.cache.optimistic   
org.jboss.cache.statetransfer   
 

Uses of NodeSPI in org.jboss.cache
 

Classes in org.jboss.cache that implement NodeSPI
 class UnversionedNode<K,V>
          Basic data node class.
 class VersionedNode<K,V>
          VersionedNode extends the UnversionedNode by adding a DataVersion property.
 

Methods in org.jboss.cache that return NodeSPI
 NodeSPI<K,V> NodeSPI.addChildDirect(Fqn childName)
          Adds a child directly to a Node.
 NodeSPI<K,V> UnversionedNode.addChildDirect(Fqn f)
           
 NodeSPI<K,V> NodeFactory.createDataNode(java.lang.Object childName, Fqn fqn, NodeSPI<K,V> parent, java.util.Map<K,V> data, boolean mapSafe)
          Creates a new Node instance.
 NodeSPI<K,V> NodeFactory.createRootDataNode()
           
 NodeSPI<K,V> CacheImpl.findNode(Fqn fqn)
          Finds a node given a fully qualified name.
 NodeSPI<K,V> NodeSPI.getChildDirect(Fqn childName)
          Retrives a child directly by fully qualified name.
 NodeSPI<K,V> UnversionedNode.getChildDirect(Fqn fqn)
           
 NodeSPI<K,V> NodeSPI.getChildDirect(java.lang.Object childName)
          Retrives a child directly by name.
 NodeSPI<K,V> UnversionedNode.getChildDirect(java.lang.Object childName)
           
 NodeSPI<K,V> NodeSPI.getOrCreateChild(java.lang.Object name, GlobalTransaction tx)
          Returns an existing child or creates a new one using a global transaction.
 NodeSPI UnversionedNode.getOrCreateChild(java.lang.Object child_name, GlobalTransaction gtx)
           
 NodeSPI<K,V> NodeSPI.getParent()
          Returns the parent node as a NodeSPI, instead of Node from Node.getParent(), and is otherwise identical.
 NodeSPI<K,V> UnversionedNode.getParent()
          Returns a parent by checking the TreeMap by name.
 NodeSPI<K,V> VersionedNode.getParent()
          Returns the parent.
 NodeSPI<K,V> CacheImpl.getRoot()
          Returns the root node.
 NodeSPI<K,V> CacheSPI.getRoot()
          Overrides Cache.getRoot() to return a NodeSPI instead of a Node.
 NodeSPI<K,V> CacheImpl.peek(Fqn<?> fqn, boolean includeDeletedNodes)
          Gets node without attempt to load it from CacheLoader if not present
 NodeSPI<K,V> CacheSPI.peek(Fqn<?> fqn, boolean includeDeletedNodes)
          Returns a node without accessing the interceptor chain.
 

Methods in org.jboss.cache that return types with arguments of type NodeSPI
 java.util.Set<NodeSPI<K,V>> NodeSPI.getChildrenDirect()
          Functionally the same as Node.getChildren() except that it operates directly on the node and bypasses the interceptor chain.
 java.util.Set<NodeSPI<K,V>> UnversionedNode.getChildrenDirect()
           
 java.util.Set<NodeSPI<K,V>> NodeSPI.getChildrenDirect(boolean includeMarkedAsDeleted)
          Retrieves children (directly), optionally including any marked as deleted nodes.
 java.util.Set<NodeSPI<K,V>> UnversionedNode.getChildrenDirect(boolean includeMarkedForRemoval)
           
 

Methods in org.jboss.cache with parameters of type NodeSPI
 void NodeSPI.addChildDirect(NodeSPI<K,V> child)
          Directly adds the node passed in to the children map of the current node.
 void UnversionedNode.addChildDirect(NodeSPI<K,V> child)
           
 NodeSPI<K,V> NodeFactory.createDataNode(java.lang.Object childName, Fqn fqn, NodeSPI<K,V> parent, java.util.Map<K,V> data, boolean mapSafe)
          Creates a new Node instance.
 WorkspaceNode<K,V> NodeFactory.createWorkspaceNode(NodeSPI<K,V> dataNode, TransactionWorkspace workspace)
           
 

Constructors in org.jboss.cache with parameters of type NodeSPI
VersionedNode(Fqn fqn, NodeSPI<K,V> parent, java.util.Map<K,V> data, CacheSPI<K,V> cache)
           
 

Uses of NodeSPI in org.jboss.cache.interceptors
 

Methods in org.jboss.cache.interceptors that return NodeSPI
protected  NodeSPI CacheLoaderInterceptor.getNode(Fqn fqn)
          Retrieves a node from memory; doesn't access the cache loader
 

Methods in org.jboss.cache.interceptors with parameters of type NodeSPI
protected  void OptimisticInterceptor.greedyGetFqns(java.util.List<Fqn> list, NodeSPI<?,?> n, Fqn newBase)
          Adds the Fqn of the node as well as all children and childrens children to the list.
 

Uses of NodeSPI in org.jboss.cache.loader
 

Methods in org.jboss.cache.loader with parameters of type NodeSPI
protected  void SingletonStoreCacheLoader.pushState(NodeSPI node)
          Pushes the state of a specific node by reading the node's data from the cache and putting in the cache store via the cache loader.
 

Uses of NodeSPI in org.jboss.cache.lock
 

Methods in org.jboss.cache.lock with parameters of type NodeSPI
static void LockUtil.forceAcquireLock(NodeSPI<?,?> node, java.lang.Object newOwner, CacheImpl cache, boolean lockChildren)
          Forcibly acquire a read lock on the given node for the given owner, breaking any existing locks that prevent the read lock.
 

Constructors in org.jboss.cache.lock with parameters of type NodeSPI
IdentityLock(IsolationLevel level, NodeSPI node)
          Creates a new IdentityLock based on the lock level in force.
IdentityLock(NodeSPI node)
          Creates a new Identity lock based on the lock level set in the LockStrategyFactory
 

Uses of NodeSPI in org.jboss.cache.optimistic
 

Methods in org.jboss.cache.optimistic that return NodeSPI
 NodeSPI WorkspaceNode.createChild(java.lang.Object child_name, NodeSPI<K,V> parent, CacheSPI<K,V> cache, DataVersion version)
          Creates a child node.
 NodeSPI<K,V> WorkspaceNodeImpl.createChild(java.lang.Object child_name, NodeSPI<K,V> parent, CacheSPI<K,V> cache, DataVersion version)
           
 NodeSPI<K,V> WorkspaceNode.getChild(Fqn f)
          Overrides Node.getChild(Fqn) to return a NodeSPI rather than a Node
 NodeSPI<K,V> WorkspaceNodeImpl.getChild(Fqn f)
           
 NodeSPI<K,V> WorkspaceNode.getChild(java.lang.Object o)
          Overrides Node.getChild(Object) to return a NodeSPI rather than a Node
 NodeSPI<K,V> WorkspaceNodeImpl.getChild(java.lang.Object childName)
           
 NodeSPI<K,V> WorkspaceNode.getNode()
          Retrieves a reference to the underlying NodeSPI instance.
 NodeSPI<K,V> WorkspaceNodeImpl.getNode()
           
 NodeSPI<K,V> WorkspaceNodeImpl.getNodeSPI()
           
 

Methods in org.jboss.cache.optimistic with parameters of type NodeSPI
 NodeSPI WorkspaceNode.createChild(java.lang.Object child_name, NodeSPI<K,V> parent, CacheSPI<K,V> cache, DataVersion version)
          Creates a child node.
 NodeSPI<K,V> WorkspaceNodeImpl.createChild(java.lang.Object child_name, NodeSPI<K,V> parent, CacheSPI<K,V> cache, DataVersion version)
           
 

Constructors in org.jboss.cache.optimistic with parameters of type NodeSPI
WorkspaceNodeImpl(NodeSPI<K,V> node, TransactionWorkspace workspace)
          Constructs with a node and workspace.
 

Uses of NodeSPI in org.jboss.cache.statetransfer
 

Methods in org.jboss.cache.statetransfer with parameters of type NodeSPI
protected  void StateTransferManager.acquireLocksForStateTransfer(NodeSPI root, java.lang.Object lockOwner, long timeout, boolean lockChildren, boolean force)
          Acquires locks on a root node for an owner for state transfer.
protected  void DefaultStateTransferGenerator.generateNodeDataList(NodeSPI<?,?> node, java.util.List<NodeData> list)
           
protected  void DefaultStateTransferIntegrator.integrateTransientState(java.io.ObjectInputStream in, NodeSPI target)
           
protected  void DefaultStateTransferGenerator.marshallTransientState(NodeSPI node, java.io.ObjectOutputStream out)
          Do a preorder traversal: visit the node first, then the node's children
protected  void StateTransferManager.releaseStateTransferLocks(NodeSPI root, java.lang.Object lockOwner, boolean childrenLocked)
          Releases all state transfer locks acquired.