Package | Description |
---|---|
org.jboss.cache | |
org.jboss.cache.invocation | |
org.jboss.cache.lock | |
org.jboss.cache.mvcc | |
org.jboss.cache.optimistic | |
org.jboss.cache.util |
Modifier and Type | Interface and Description |
---|---|
interface |
NodeSPI<K,V>
A more detailed interface to
Node , which is used when writing plugins for or extending JBoss Cache. |
Modifier and Type | Method and Description |
---|---|
Node<K,V> |
Node.addChild(Fqn f)
Adds a child node with the given
Fqn under the current node. |
Node<K,V> |
Node.getChild(Fqn f)
Returns the child node
|
Node<K,V> |
Node.getChild(Object name) |
Node<K,V> |
Cache.getNode(Fqn fqn)
A convenience method to retrieve a node directly from the cache.
|
Node<K,V> |
Cache.getNode(String fqn)
Convenience method that takes a string representation of an Fqn.
|
Node<K,V> |
Node.getParent()
Returns the parent node.
|
Node<K,V> |
Cache.getRoot()
Returns the root node of this cache.
|
Modifier and Type | Method and Description |
---|---|
Set<Node<K,V>> |
Node.getChildren()
Returns an immutable set of children nodes.
|
Map<Object,Node<K,V>> |
NodeSPI.getChildrenMapDirect()
Returns a map to access the raw children.
|
Map<Object,Node<K,V>> |
AbstractNode.getChildrenMapDirect() |
Map<Object,Node<K,V>> |
InternalNode.getChildrenMapDirect()
Deprecated.
|
Map<Object,Node<K,V>> |
PessimisticUnversionedNode.getChildrenMapDirect()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
NodeSPI.addChild(Object nodeName,
Node<K,V> nodeToAdd)
Adds or replaces a child by name.
|
void |
AbstractNode.addChildDirect(Object nodeName,
Node<K,V> nodeToAdd) |
void |
InternalNode.addChildDirect(Object nodeName,
Node<K,V> nodeToAdd)
Deprecated.
|
void |
PessimisticUnversionedNode.addChildDirect(Object nodeName,
Node<K,V> nodeToAdd)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
NodeSPI.setChildrenMapDirect(Map<Object,Node<K,V>> children)
Sets the node's children explictly.
|
void |
AbstractNode.setChildrenMapDirect(Map<Object,Node<K,V>> children) |
void |
InternalNode.setChildrenMapDirect(Map<Object,Node<K,V>> children)
Deprecated.
|
void |
PessimisticUnversionedNode.setChildrenMapDirect(Map<Object,Node<K,V>> children)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
NodeInvocationDelegate<K,V>
The delegate that users (and interceptor authors) interact with when they obtain a node from the cache or another node.
|
Modifier and Type | Method and Description |
---|---|
Node<K,V> |
NodeInvocationDelegate.addChild(Fqn f) |
Node<K,V> |
NodeInvocationDelegate.getChild(Fqn f) |
Node<K,V> |
NodeInvocationDelegate.getChild(Object name) |
Modifier and Type | Method and Description |
---|---|
Set<Node<K,V>> |
NodeInvocationDelegate.getChildren() |
Map<Object,Node<K,V>> |
NodeInvocationDelegate.getChildrenMapDirect() |
Modifier and Type | Method and Description |
---|---|
void |
NodeInvocationDelegate.addChild(Object nodeName,
Node<K,V> nodeToAdd) |
Modifier and Type | Method and Description |
---|---|
void |
NodeInvocationDelegate.setChildrenMapDirect(Map<Object,Node<K,V>> children) |
Modifier and Type | Method and Description |
---|---|
Node |
IdentityLock.getNode()
Deprecated.
Returns the node for this lock, may be
null . |
Modifier and Type | Class and Description |
---|---|
class |
NullMarkerNode
A marker node to represent a null node for repeatable read, so that a read that returns a null can continue to return
null.
|
class |
NullMarkerNodeForRemoval
A specific type of null marker node, used for removal of nodes that don't exist
|
class |
ReadCommittedNode
A node delegate that encapsulates read committed semantics when writes are initiated, committed or rolled back.
|
class |
RepeatableReadNode
A node delegate that encapsulates repeatable read semantics when writes are initiated, committed or rolled back.
|
Modifier and Type | Method and Description |
---|---|
Map<Object,Node<K,V>> |
NodeReference.getChildrenMapDirect() |
Modifier and Type | Method and Description |
---|---|
void |
NodeReference.addChildDirect(Object nodeName,
Node<K,V> nodeToAdd) |
Modifier and Type | Method and Description |
---|---|
void |
NodeReference.setChildrenMapDirect(Map<Object,Node<K,V>> children) |
Modifier and Type | Method and Description |
---|---|
Node<K,V> |
WorkspaceNodeImpl.getParent()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> Map<K,V> |
Caches.asMap(Node<K,V> node)
Returns a
Map , where map keys are named children of the given Node,
and values are kept under a single key for this node. |
static <K,V> Map<K,V> |
Caches.asPartitionedMap(Node<K,V> node)
Returns a
Map , where map entries are partitioned into
children nodes, within a cache node. |
static <K,V> Map<K,V> |
Caches.asPartitionedMap(Node<K,V> node,
Caches.ChildSelector<K> ss)
Returns a
Map , where map entries are partitioned
into children, within a cache node, by key hash code. |
static <K,V> Map<K,V> |
Caches.asSimpleMap(Node<K,V> node)
Returns a
Map , where map data is put and returned directly from a single Node. |
static <K,V> Set<V> |
Caches.asSimpleSet(Node<K,V> node)
Returns a
Set , where set entries are data entries of the given Node. |
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.