Uses of Interface
org.jboss.cache.NodeSPI

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

Uses of NodeSPI in org.jboss.cache
 

Methods in org.jboss.cache that return NodeSPI
 NodeSPI UnversionedNode.addChildDirect(Fqn f)
           
 NodeSPI<K,V> NodeSPI.addChildDirect(Fqn childName)
          Adds a child directly to a Node.
 NodeSPI UnversionedNode.addChildDirect(Fqn f, boolean notify)
           
 NodeSPI<K,V> NodeSPI.addChildDirect(Fqn f, boolean notify)
          Same as addChildDirect(Fqn) except that it optionally allows you to suppress notification events for the creation of this node.
 NodeSPI UnversionedNode.addChildDirect(Object childName, boolean notify)
           
 NodeSPI<K,V> NodeSPI.addChildDirect(Object childName, boolean notify)
          Same as addChildDirect(Fqn, boolean) except that it just takes a child name
 NodeSPI<K,V> NodeFactory.createDataNode(Object childName, Fqn fqn, NodeSPI<K,V> parent, Map<K,V> data, boolean mapSafe)
          Creates a new Node instance.
 NodeSPI<K,V> NodeFactory.createRootDataNode()
           
 NodeSPI CacheImpl.findNode(Fqn fqn)
          Finds a node given a fully qualified name.
 NodeSPI UnversionedNode.getDelegate()
           
 NodeSPI UnversionedNode.getChildDirect(Fqn fqn)
           
 NodeSPI<K,V> NodeSPI.getChildDirect(Fqn childName)
          Retrives a child directly by fully qualified name.
 NodeSPI UnversionedNode.getChildDirect(Object childName)
           
 NodeSPI<K,V> NodeSPI.getChildDirect(Object childName)
          Retrives a child directly by name.
 NodeSPI<K,V> CacheSPI.getNode(Fqn<?> f)
          Overrides Cache.getNode(Fqn) to return a NodeSPI instead of a Node.
 NodeSPI<K,V> CacheSPI.getNode(String s)
          Overrides Cache.getNode(String) to return a NodeSPI instead of a Node.
 NodeSPI<K,V> NodeSPI.getOrCreateChild(Object name, GlobalTransaction tx)
          Returns an existing child or creates a new one using a global transaction.
 NodeSPI UnversionedNode.getOrCreateChild(Object child_name, GlobalTransaction gtx, boolean notify)
           
 NodeSPI<K,V> VersionedNode.getParent()
          Returns the parent.
 NodeSPI UnversionedNode.getParent()
          Returns a parent by checking the TreeMap by name.
 NodeSPI<K,V> NodeSPI.getParent()
          Returns the parent node as a NodeSPI, instead of Node from Node.getParent(), and is otherwise identical.
 NodeSPI CacheImpl.getRoot()
          Returns the root node.
 NodeSPI<K,V> CacheSPI.getRoot()
          Overrides Cache.getRoot() to return a NodeSPI instead of a Node.
 NodeSPI CacheImpl.peek(Fqn<?> fqn, boolean includeDeletedNodes)
           
 NodeSPI<K,V> CacheSPI.peek(Fqn<?> fqn, boolean includeDeletedNodes)
          Returns a node without accessing the interceptor chain.
 NodeSPI CacheImpl.peek(Fqn<?> fqn, boolean includeDeletedNodes, boolean includeInvalidNodes)
           
 NodeSPI<K,V> CacheSPI.peek(Fqn<?> fqn, boolean includeDeletedNodes, boolean includeInvalidNodes)
          Returns a node without accessing the interceptor chain, optionally returning nodes that are marked as invalid (Node.isValid() == false).
 

Methods in org.jboss.cache that return types with arguments of type NodeSPI
 Set<NodeSPI> UnversionedNode.getChildrenDirect()
           
 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.
 Set<NodeSPI> UnversionedNode.getChildrenDirect(boolean includeMarkedForRemoval)
           
 Set<NodeSPI<K,V>> NodeSPI.getChildrenDirect(boolean includeMarkedAsDeleted)
          Retrieves children (directly), optionally including any marked as deleted nodes.
 

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

Constructors in org.jboss.cache with parameters of type NodeSPI
VersionedNode(Fqn fqn, NodeSPI<K,V> parent, 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
 NodeSPI Interceptor.peekNode(InvocationContext ctx, Fqn f, boolean forceRefresh, boolean includeDeletedNodes, boolean includeInvalidNodes)
          First checks the invocation context for previously obtained reference to a node, if this doesn't exist, performs a cache.peek() and holds on to the node reference.
 

Methods in org.jboss.cache.interceptors with parameters of type NodeSPI
protected  void OptimisticInterceptor.greedyGetFqns(List<Fqn> list, NodeSPI<?,?> n, Fqn newBase)
          Adds the Fqn of the node as well as all children and childrens children to the list.
protected  WorkspaceNode OptimisticInterceptor.lockAndCreateWorkspaceNode(NodeFactory nodeFactory, NodeSPI node, TransactionWorkspace workspace, GlobalTransaction gtx, long timeout)
           
 

Uses of NodeSPI in org.jboss.cache.invocation
 

Classes in org.jboss.cache.invocation that implement NodeSPI
 class NodeInvocationDelegate<K,V>
          The delegate that users (and interceptor authors) interact with when they obtain a node from the cache or another node.
 

Methods in org.jboss.cache.invocation that return NodeSPI
 NodeSPI<K,V> NodeInvocationDelegate.addChildDirect(Fqn childName)
           
 NodeSPI<K,V> NodeInvocationDelegate.addChildDirect(Fqn f, boolean notify)
           
 NodeSPI<K,V> NodeInvocationDelegate.addChildDirect(Object childName, boolean notify)
           
 NodeSPI<K,V> NodeInvocationDelegate.getChildDirect(Fqn childName)
           
 NodeSPI<K,V> NodeInvocationDelegate.getChildDirect(Object childName)
           
 NodeSPI<K,V> CacheInvocationDelegate.getNode(Fqn<?> fqn)
           
 NodeSPI<K,V> CacheInvocationDelegate.getNode(String fqn)
           
 NodeSPI<K,V> NodeInvocationDelegate.getOrCreateChild(Object name, GlobalTransaction tx)
           
 NodeSPI<K,V> NodeInvocationDelegate.getParent()
           
 NodeSPI<K,V> CacheInvocationDelegate.getRoot()
           
 NodeSPI<K,V> CacheInvocationDelegate.peek(Fqn fqn, boolean includeDeletedNodes)
           
 NodeSPI<K,V> CacheInvocationDelegate.peek(Fqn fqn, boolean includeDeletedNodes, boolean includeInvalidNodes)
           
 

Methods in org.jboss.cache.invocation that return types with arguments of type NodeSPI
 Set<NodeSPI<K,V>> NodeInvocationDelegate.getChildrenDirect()
           
 Set<NodeSPI<K,V>> NodeInvocationDelegate.getChildrenDirect(boolean includeMarkedAsDeleted)
           
 

Methods in org.jboss.cache.invocation with parameters of type NodeSPI
 void NodeInvocationDelegate.addChildDirect(NodeSPI<K,V> child)
           
 

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
 

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(Object child_name, NodeSPI<K,V> parent, CacheSPI<K,V> cache, DataVersion version)
          Creates a child node.
 NodeSPI<K,V> WorkspaceNodeImpl.createChild(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(Object o)
          Overrides Node.getChild(Object) to return a NodeSPI rather than a Node
 NodeSPI<K,V> WorkspaceNodeImpl.getChild(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(Object child_name, NodeSPI<K,V> parent, CacheSPI<K,V> cache, DataVersion version)
          Creates a child node.
 NodeSPI<K,V> WorkspaceNodeImpl.createChild(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, 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, List<NodeData> list)
           
protected  void DefaultStateTransferIntegrator.integrateTransientState(ObjectInputStream in, NodeSPI target)
           
protected  void DefaultStateTransferGenerator.marshallTransientState(NodeSPI node, ObjectOutputStream out)
          Do a preorder traversal: visit the node first, then the node's children
protected  void StateTransferManager.releaseStateTransferLocks(NodeSPI root, Object lockOwner, boolean childrenLocked)
          Releases all state transfer locks acquired.
 



Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.