Modifier and Type | Class and Description |
---|---|
class |
StringFqn
An optimisation of Fqn that does more efficient equals() and hashcode() computations.
|
Modifier and Type | Field and Description |
---|---|
static Fqn |
RegionManagerImpl.DEFAULT_REGION
The default region used in XML configuration files when defining eviction policies.
|
protected Fqn |
AbstractNode.fqn |
static Fqn |
Fqn.ROOT
Immutable root Fqn.
|
Modifier and Type | Method and Description |
---|---|
static <T> Fqn<T> |
Fqn.fromElements(T... elements)
Retrieves an Fqn that represents the array of elements passed in.
|
static Fqn<?> |
Fqn.fromExternalStream(ObjectInput in)
Retrieves an Fqn read from an object input stream, typically written to using
writeExternal(java.io.ObjectOutput) . |
static <T> Fqn<T> |
Fqn.fromList(List<? extends T> names)
Retrieves an Fqn that represents the list of elements passed in.
|
static <T> Fqn<T> |
Fqn.fromList(List<? extends T> names,
boolean safe)
Retrieves an Fqn that represents the list of elements passed in.
|
static <T> Fqn<T> |
Fqn.fromRelativeElements(Fqn<? extends T> base,
T... relativeElements)
Retrieves an Fqn that represents the array of elements passed in, relative to the base Fqn.
|
static <T> Fqn<T> |
Fqn.fromRelativeFqn(Fqn<? extends T> base,
Fqn<? extends T> relative)
Retrieves an Fqn that represents the absolute Fqn of the relative Fqn passed in.
|
static <T> Fqn<T> |
Fqn.fromRelativeList(Fqn<? extends T> base,
List<? extends T> relativeElements)
Retrieves an Fqn that represents the List
|
static Fqn<String> |
Fqn.fromString(String stringRepresentation)
Returns a new Fqn from a string, where the elements are deliminated by one or more separator (
SEPARATOR )
characters.Example use: |
Fqn<E> |
Fqn.getAncestor(int generation)
Obtains an ancestor of the current Fqn.
|
Fqn |
Region.getFqn()
Returns the
Fqn of this region. |
Fqn |
InternalNode.getFqn() |
Fqn |
UnversionedNode.getFqn()
Returns the name of this node.
|
Fqn |
RegionImpl.getFqn() |
Fqn |
Modification.getFqn()
Returns the modification fqn.
|
Fqn |
Node.getFqn()
|
Fqn |
Modification.getFqn2() |
Fqn<E> |
Fqn.getParent()
Returns the parent of this Fqn.
|
Fqn<E> |
Fqn.getSubFqn(int startIndex,
int endIndex)
Obtains a sub-Fqn from the given Fqn.
|
Fqn<E> |
Fqn.replaceAncestor(Fqn<E> oldAncestor,
Fqn<E> newAncestor)
Creates a new Fqn whose ancestor has been replaced with the new ancestor passed in.
|
static <T> Fqn<T> |
Fqn.root() |
Modifier and Type | Method and Description |
---|---|
Set<Fqn> |
InvocationContext.getFqnsLoaded() |
Set<Fqn> |
DataContainer.getInternalFqns()
Returns a Set
|
Set<Fqn> |
CacheSPI.getInternalFqns()
Returns a Set
|
Set<Fqn> |
DataContainerImpl.getInternalFqns() |
abstract Map<Fqn,NodeSPI> |
InvocationContext.getLookedUpNodes()
Retrieves a map of nodes looked up within the current invocation's scope.
|
List<Fqn> |
DataContainer.getNodesForEviction(Fqn fqn,
boolean recursive)
Generates a list of nodes for eviction.
|
List<Fqn> |
DataContainerImpl.getNodesForEviction(Fqn fqn,
boolean recursive) |
Modifier and Type | Method and Description |
---|---|
void |
RegionManagerImpl.activate(Fqn fqn) |
void |
RegionManager.activate(Fqn fqn)
Activates unmarshalling of replication messages for the region
rooted in the given Fqn.
|
void |
RegionManagerImpl.activateIfEmpty(Fqn fqn) |
void |
RegionManager.activateIfEmpty(Fqn fqn)
Attempts to activate a given region rooted at a given Fqn, similar to
RegionManager.activate(org.jboss.cache.Fqn) except
that if the fqn is currently already in use (probably already been activated) this method is a no-op. |
Node<K,V> |
Node.addChild(Fqn f)
Adds a child node with the given
Fqn under the current node. |
NodeSPI<K,V> |
NodeSPI.addChildDirect(Fqn childName)
Adds a child directly to a Node.
|
NodeSPI<K,V> |
AbstractNode.addChildDirect(Fqn f) |
NodeSPI<K,V> |
InternalNode.addChildDirect(Fqn f)
Deprecated.
|
NodeSPI<K,V> |
PessimisticUnversionedNode.addChildDirect(Fqn f)
Deprecated.
|
NodeSPI<K,V> |
NodeSPI.addChildDirect(Fqn f,
boolean notify)
Same as
NodeSPI.addChildDirect(Fqn) except that it optionally allows you to suppress notification events for
the creation of this node. |
NodeSPI<K,V> |
AbstractNode.addChildDirect(Fqn f,
boolean notify) |
NodeSPI<K,V> |
InternalNode.addChildDirect(Fqn f,
boolean notify)
Deprecated.
|
NodeSPI<K,V> |
PessimisticUnversionedNode.addChildDirect(Fqn f,
boolean notify)
Deprecated.
|
void |
InvocationContext.addFqnLoaded(Fqn fqn)
Adds an Fqn to the set of Fqns loaded by the cache loader interceptor.
|
void |
Cache.clearData(Fqn fqn)
Removes the keys and properties from a named node.
|
int |
FqnComparator.compare(Fqn fqn1,
Fqn fqn2)
Returns -1 if the first comes before; 0 if they are the same; 1 if the
second Fqn comes before.
|
int |
FqnComparator.compare(Fqn fqn1,
Fqn fqn2)
Returns -1 if the first comes before; 0 if they are the same; 1 if the
second Fqn comes before.
|
int |
Fqn.compareTo(Fqn<?> fqn)
Compares this Fqn to another using
FqnComparator . |
Region |
Region.copy(Fqn newRoot)
copies the region - including eviction queue events - to a new Region instance, attached to a new Fqn root.
|
Region |
RegionImpl.copy(Fqn newRoot) |
InternalNode<K,V> |
AbstractNodeFactory.createChildNode(Fqn fqn,
InternalNode<K,V> parent,
InvocationContext ctx,
boolean attachToParent) |
InternalNode<K,V> |
NodeFactory.createChildNode(Fqn fqn,
InternalNode<K,V> parent,
InvocationContext ctx,
boolean attachToParent)
Creates a new node, and optionally attaches the node to its parent.
|
InternalNode<K,V> |
AbstractNodeFactory.createInternalNode(Fqn fqn) |
InternalNode<K,V> |
NodeFactory.createInternalNode(Fqn childFqn)
Creates an internal node.
|
protected UnversionedNode<K,V> |
AbstractNodeFactory.createInternalNode(Object childName,
Fqn fqn,
NodeSPI<K,V> parent,
Map<K,V> data) |
protected UnversionedNode<K,V> |
PessimisticNodeFactory.createInternalNode(Object childName,
Fqn fqn,
NodeSPI<K,V> parent,
Map<K,V> data)
Deprecated.
|
NodeSPI<K,V> |
AbstractNodeFactory.createNode(Fqn fqn,
NodeSPI<K,V> parent) |
NodeSPI<K,V> |
NodeFactory.createNode(Fqn fqn,
NodeSPI<K,V> parent)
Creates a new, empty node.
|
NodeSPI<K,V> |
AbstractNodeFactory.createNode(Fqn fqn,
NodeSPI<K,V> parent,
Map<K,V> data) |
NodeSPI<K,V> |
NodeFactory.createNode(Fqn fqn,
NodeSPI<K,V> parent,
Map<K,V> data)
Creates a new node and populates its attributes.
|
Object[] |
DataContainer.createNodes(Fqn fqn)
Traverses the tree to the given Fqn, creating nodes if needed.
|
Object[] |
DataContainerImpl.createNodes(Fqn fqn) |
ReadCommittedNode |
AbstractNodeFactory.createWrappedNodeForRemoval(Fqn fqn,
InternalNode<K,V> node,
InternalNode<K,V> parent) |
ReadCommittedNode |
NodeFactory.createWrappedNodeForRemoval(Fqn fqn,
InternalNode<K,V> node,
InternalNode<K,V> parent) |
void |
RegionManagerImpl.deactivate(Fqn fqn) |
void |
RegionManager.deactivate(Fqn fqn)
Disables unmarshalling of replication messages for the region
rooted in the given Fqn.
|
boolean |
DataContainer.evict(Fqn fqn)
Following scenarios define how eviction works.
|
void |
Cache.evict(Fqn fqn)
Eviction call that evicts the specified
Node from memory. |
boolean |
DataContainerImpl.evict(Fqn fqn) |
void |
DataContainer.evict(Fqn fqn,
boolean recursive)
Evicts the given node.
|
void |
Cache.evict(Fqn fqn,
boolean recursive)
Eviction call that evicts the specified
Node from memory. |
void |
DataContainerImpl.evict(Fqn fqn,
boolean recursive) |
boolean |
DataContainer.exists(Fqn fqn)
Tests if an Fqn exists and is valid and not deleted.
|
boolean |
CacheSPI.exists(Fqn fqn)
Helper method that does a peek and ensures that the result of the peek is not null.
|
boolean |
DataContainerImpl.exists(Fqn fqn) |
void |
RPCManager.fetchPartialState(List<org.jgroups.Address> sources,
Fqn subtree)
Retrieves partial state from remote instances.
|
void |
RPCManagerImpl.fetchPartialState(List<org.jgroups.Address> sources,
Fqn subtree) |
void |
RPCManager.fetchPartialState(List<org.jgroups.Address> sources,
Fqn sourceTarget,
Fqn integrationTarget)
Retrieves partial state from remote instances.
|
void |
RPCManager.fetchPartialState(List<org.jgroups.Address> sources,
Fqn sourceTarget,
Fqn integrationTarget)
Retrieves partial state from remote instances.
|
void |
RPCManagerImpl.fetchPartialState(List<org.jgroups.Address> sources,
Fqn sourceTarget,
Fqn integrationTarget) |
void |
RPCManagerImpl.fetchPartialState(List<org.jgroups.Address> sources,
Fqn sourceTarget,
Fqn integrationTarget) |
static <T> Fqn<T> |
Fqn.fromRelativeElements(Fqn<? extends T> base,
T... relativeElements)
Retrieves an Fqn that represents the array of elements passed in, relative to the base Fqn.
|
static <T> Fqn<T> |
Fqn.fromRelativeFqn(Fqn<? extends T> base,
Fqn<? extends T> relative)
Retrieves an Fqn that represents the absolute Fqn of the relative Fqn passed in.
|
static <T> Fqn<T> |
Fqn.fromRelativeFqn(Fqn<? extends T> base,
Fqn<? extends T> relative)
Retrieves an Fqn that represents the absolute Fqn of the relative Fqn passed in.
|
static <T> Fqn<T> |
Fqn.fromRelativeList(Fqn<? extends T> base,
List<? extends T> relativeElements)
Retrieves an Fqn that represents the List
|
V |
Cache.get(Fqn fqn,
K key)
Convenience method that allows for direct access to the data in a
Node . |
InternalNode<K,V> |
AbstractNode.getChild(Fqn f) |
InternalNode<K,V> |
InternalNode.getChild(Fqn f) |
InternalNode<K,V> |
UnversionedNode.getChild(Fqn f) |
Node<K,V> |
Node.getChild(Fqn f)
Returns the child node
|
NodeSPI<K,V> |
NodeSPI.getChildDirect(Fqn childName)
Retrives a child directly by fully qualified name.
|
NodeSPI<K,V> |
AbstractNode.getChildDirect(Fqn fqn) |
NodeSPI<K,V> |
InternalNode.getChildDirect(Fqn fqn)
Deprecated.
|
NodeSPI<K,V> |
PessimisticUnversionedNode.getChildDirect(Fqn fqn)
Deprecated.
|
Set<Object> |
Cache.getChildrenNames(Fqn fqn)
Returns all children of a given node.
|
Map<K,V> |
Cache.getData(Fqn fqn)
Retrieves a defensively copied data map of the underlying node.
|
Set<K> |
Cache.getKeys(Fqn fqn)
Returns a set of attribute keys for the Fqn.
|
Node<K,V> |
Cache.getNode(Fqn fqn)
A convenience method to retrieve a node directly from the cache.
|
NodeSPI<K,V> |
CacheSPI.getNode(Fqn f)
|
List<Fqn> |
DataContainer.getNodesForEviction(Fqn fqn,
boolean recursive)
Generates a list of nodes for eviction.
|
List<Fqn> |
DataContainerImpl.getNodesForEviction(Fqn fqn,
boolean recursive) |
int |
DataContainer.getNumberOfAttributes(Fqn fqn)
Returns an approximation of the total number of attributes in
this sub cache.
|
int |
DataContainerImpl.getNumberOfAttributes(Fqn fqn) |
Region |
RegionManagerImpl.getRegion(Fqn fqn,
boolean createIfAbsent) |
Region |
RegionManager.getRegion(Fqn fqn,
boolean createIfAbsent)
Returns a region by
Fqn , creating it optionally if absent. |
Region |
Cache.getRegion(Fqn fqn,
boolean createIfAbsent)
|
Region |
RegionManagerImpl.getRegion(Fqn fqn,
Region.Type type,
boolean createIfAbsent) |
Region |
RegionManager.getRegion(Fqn fqn,
Region.Type type,
boolean createIfAbsent)
An overloaded form of
RegionManager.getRegion(org.jboss.cache.Fqn,boolean) that takes an additional Region.Type
parameter to force regions of a specific type. |
Region |
RegionManagerImpl.getValidMarshallingRegion(Fqn fqn) |
Region |
RegionManager.getValidMarshallingRegion(Fqn fqn)
Retrieves a valid marshalling
Region after taking into account that this may be a Buddy Backup Fqn. |
GravitateResult |
CacheSPI.gravitateData(Fqn fqn,
boolean searchBuddyBackupSubtrees,
InvocationContext ctx)
Used with buddy replication's data gravitation interceptor.
|
boolean |
Node.hasChild(Fqn f)
Returns true if the child node denoted by the relative
Fqn passed in exists. |
boolean |
DataContainer.hasChildren(Fqn fqn)
Returns true if the Fqn exists, is valid and is not deleted, and the node has children.
|
boolean |
DataContainerImpl.hasChildren(Fqn fqn) |
boolean |
RegionManagerImpl.hasRegion(Fqn fqn,
Region.Type type) |
boolean |
RegionManager.hasRegion(Fqn fqn,
Region.Type type)
Returns true if the region exists
|
protected void |
LegacyRegionManagerImpl.inactivateRegion(Fqn fqn)
Deprecated.
Causes the cache to stop accepting replication events for the subtree
rooted at
subtreeFqn and evict all nodes in that subtree. |
protected void |
RegionManagerImpl.inactivateRegion(Fqn fqn)
Causes the cache to stop accepting replication events for the subtree
rooted at
subtreeFqn and evict all nodes in that subtree. |
boolean |
Fqn.isChildOf(Fqn<? super E> parentFqn)
Returns true if this Fqn is child of parentFqn.
|
boolean |
StringFqn.isChildOrEquals(Fqn parentFqn) |
boolean |
Fqn.isChildOrEquals(Fqn<? super E> parentFqn)
Returns true if this Fqn is equals or the child of parentFqn.
|
boolean |
Fqn.isDirectChildOf(Fqn<? super E> parentFqn)
Returns true if this Fqn is a direct child of a given Fqn.
|
boolean |
RegionManagerImpl.isInactive(Fqn fqn) |
boolean |
RegionManager.isInactive(Fqn fqn)
Convenienve method.
|
boolean |
Cache.isLeaf(Fqn fqn)
Tests if a node is a leaf, i.e., doesn't have any children
|
protected boolean |
RegionManagerImpl.isRegionLocked(Fqn fqn) |
boolean |
DataContainer.isResident(Fqn fqn) |
boolean |
DataContainerImpl.isResident(Fqn fqn) |
protected void |
RegionManagerImpl.lock(Fqn fqn) |
abstract NodeSPI |
InvocationContext.lookUpNode(Fqn fqn)
Retrieves a node from the registry of looked up nodes in the current scope.
|
void |
Region.markNodeCurrentlyInUse(Fqn fqn,
long timeout)
Marks a
Node as currently in use, by adding an event to the eviction queue. |
void |
RegionImpl.markNodeCurrentlyInUse(Fqn fqn,
long timeout) |
void |
Cache.move(Fqn nodeToMove,
Fqn newParent)
Moves a part of the cache to a different subtree.
|
void |
Cache.move(Fqn nodeToMove,
Fqn newParent)
Moves a part of the cache to a different subtree.
|
NodeSPI |
DataContainer.peek(Fqn fqn)
Deprecated.
Note that this only supports legacy locking schemes (OL and PL) and will be removed when those schemes are removed.
|
NodeSPI |
DataContainerImpl.peek(Fqn fqn) |
NodeSPI |
DataContainer.peek(Fqn fqn,
boolean includeDeletedNodes)
Deprecated.
Note that this only supports legacy locking schemes (OL and PL) and will be removed when those schemes are removed.
|
NodeSPI<K,V> |
CacheSPI.peek(Fqn fqn,
boolean includeDeletedNodes)
Returns a node without accessing the interceptor chain.
|
NodeSPI |
DataContainerImpl.peek(Fqn fqn,
boolean includeDeletedNodes) |
NodeSPI |
DataContainer.peek(Fqn fqn,
boolean includeDeletedNodes,
boolean includeInvalidNodes)
Deprecated.
Note that this only supports legacy locking schemes (OL and PL) and will be removed when those schemes are removed.
|
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). |
NodeSPI |
DataContainerImpl.peek(Fqn fqn,
boolean includeDeletedNodes,
boolean includeInvalidNodes) |
InternalNode |
DataContainer.peekInternalNode(Fqn f,
boolean includeInvalidNodes)
Similar to
DataContainer.peek(Fqn) except that the underlying node is NOT wrapped as a NodeSPI . |
InternalNode |
DataContainerImpl.peekInternalNode(Fqn fqn,
boolean includeInvalidNodes) |
InternalNode[] |
DataContainer.peekInternalNodeAndDirectParent(Fqn fqn,
boolean includeInvalidNodes)
Similar to
DataContainer.peekInternalNode(Fqn, boolean) except that the node AND its *direct* parent are retrieved. |
InternalNode[] |
DataContainerImpl.peekInternalNodeAndDirectParent(Fqn fqn,
boolean includeInvalidNodes) |
V |
Cache.put(Fqn fqn,
K key,
V value)
Associates the specified value with the specified key for a
Node in this cache. |
void |
Cache.put(Fqn fqn,
Map<? extends K,? extends V> data)
Copies all of the mappings from the specified map to a
Node . |
Region |
RegionRegistry.put(Fqn f,
Region r) |
void |
Cache.putForExternalRead(Fqn fqn,
K key,
V value)
Under special operating behavior, associates the value with the specified key for a node identified by the Fqn passed in.
|
Region |
RegionRegistry.putIfAbsent(Fqn f,
Region r) |
abstract void |
InvocationContext.putLookedUpNode(Fqn f,
NodeSPI n)
Puts an entry in the registry of looked up nodes in the current scope.
|
EvictionEvent |
Region.registerEvictionEvent(Fqn fqn,
EvictionEvent.Type eventType)
An overloaded version of
Region.registerEvictionEvent(Fqn, org.jboss.cache.eviction.EvictionEvent.Type, int, DataCommand, Transaction) which
uses a default elementDifference value. |
EvictionEvent |
RegionImpl.registerEvictionEvent(Fqn fqn,
EvictionEvent.Type eventType) |
EvictionEvent |
Region.registerEvictionEvent(Fqn fqn,
EvictionEvent.Type eventType,
int elementDifference,
DataCommand command,
Transaction tx)
Registers an eviction event on the region's eviction event queue for later processing by
Region.processEvictionQueues() . |
EvictionEvent |
RegionImpl.registerEvictionEvent(Fqn fqn,
EvictionEvent.Type eventType,
int elementDifference,
DataCommand command,
Transaction tx) |
void |
DataContainer.registerInternalFqn(Fqn fqn)
Adds the specified Fqn to the list of Fqns to be considered "internal".
|
void |
DataContainerImpl.registerInternalFqn(Fqn fqn) |
V |
Cache.remove(Fqn fqn,
K key)
Removes the mapping for this key from a Node.
|
boolean |
InternalNode.removeChild(Fqn f) |
boolean |
UnversionedNode.removeChild(Fqn f) |
boolean |
Node.removeChild(Fqn f)
Removes a child node specified by the given relative
Fqn . |
boolean |
NodeSPI.removeChildDirect(Fqn fqn)
Removes a child directly from a node.
|
boolean |
DataContainer.removeFromDataStructure(Fqn f,
boolean skipMarkerCheck)
Removes the actual node from the tree data structure.
|
boolean |
DataContainerImpl.removeFromDataStructure(Fqn f,
boolean skipMarkerCheck) |
boolean |
Cache.removeNode(Fqn fqn)
|
boolean |
RegionManagerImpl.removeRegion(Fqn fqn) |
boolean |
RegionManager.removeRegion(Fqn fqn)
Removes a
Region identified by the given fqn. |
boolean |
Cache.removeRegion(Fqn fqn)
Removes a region denoted by the Fqn passed in.
|
Region |
RegionRegistry.replace(Fqn f,
Region r) |
boolean |
RegionRegistry.replace(Fqn f,
Region oldR,
Region newR) |
Fqn<E> |
Fqn.replaceAncestor(Fqn<E> oldAncestor,
Fqn<E> newAncestor)
Creates a new Fqn whose ancestor has been replaced with the new ancestor passed in.
|
Fqn<E> |
Fqn.replaceAncestor(Fqn<E> oldAncestor,
Fqn<E> newAncestor)
Creates a new Fqn whose ancestor has been replaced with the new ancestor passed in.
|
void |
RegionManagerImpl.setContextClassLoaderAsCurrent(Fqn fqn) |
void |
RegionManager.setContextClassLoaderAsCurrent(Fqn fqn)
Helper utility that checks for a
ClassLoader registered for the
given Fqn , and if found sets it as the TCCL. |
void |
NodeSPI.setFqn(Fqn f)
Sets the FQN of this node and resets the names of all children as well.
|
void |
InternalNode.setFqn(Fqn fqn)
Sets the node's Fqn
|
void |
UnversionedNode.setFqn(Fqn fqn) |
void |
Modification.setFqn(Fqn fqn)
Sets the modification fqn.
|
void |
PessimisticUnversionedNode.setFqn(Fqn fqn)
Deprecated.
|
void |
Modification.setFqn2(Fqn fqn2) |
protected void |
RegionManagerImpl.unlock(Fqn fqn) |
void |
Region.unmarkNodeCurrentlyInUse(Fqn fqn)
Adds an event to the eviction queue indicating that a node is no longer in use.
|
void |
RegionImpl.unmarkNodeCurrentlyInUse(Fqn fqn) |
Modifier and Type | Method and Description |
---|---|
abstract void |
InvocationContext.putLookedUpNodes(Map<Fqn,NodeSPI> lookedUpNodes)
Adds a map of looked up nodes to the current map of looked up nodes
|
void |
InvocationContext.setFqnsLoaded(Set<Fqn> fqnsLoaded) |
Constructor and Description |
---|
Fqn(Fqn<? extends E> base,
E... childNames)
Deprecated.
use
fromRelativeElements(Fqn, Object[]) instead. This constructor will be removed in 3.0.0. |
Fqn(Fqn<? extends E> base,
Fqn<? extends E> relative)
Deprecated.
use
fromRelativeFqn(Fqn, Fqn) instead. This constructor will be removed in 3.0.0. |
Fqn(Fqn<? extends E> base,
Fqn<? extends E> relative)
Deprecated.
use
fromRelativeFqn(Fqn, Fqn) instead. This constructor will be removed in 3.0.0. |
Modification(Modification.ModificationType type,
Fqn fqn)
Constructs a new modification with fqn only.
|
Modification(Modification.ModificationType type,
Fqn fqn1,
Fqn fqn2)
Constructs a new modification with fqn only.
|
Modification(Modification.ModificationType type,
Fqn fqn1,
Fqn fqn2)
Constructs a new modification with fqn only.
|
Modification(Modification.ModificationType type,
Fqn fqn,
Map data)
Constructs a new modification with data map.
|
Modification(Modification.ModificationType type,
Fqn fqn,
Object key)
Constructs a new modification with key.
|
Modification(Modification.ModificationType type,
Fqn fqn,
Object key,
Object value)
Constructs a new modification with details.
|
PessimisticUnversionedNode(Object name,
Fqn fqn,
Map<K,V> data,
CacheSPI<K,V> cache)
Deprecated.
|
RegionImpl(EvictionRegionConfig config,
Fqn fqn,
RegionManager regionManager)
Constructs an eviction region from a policy and configuration, defined by an fqn and region manager.
|
RegionImpl(Fqn fqn,
RegionManager regionManager)
Constructs a marshalling region from an fqn and region manager.
|
UnversionedNode(Fqn fqn)
Constructs a new node a given Fqn
|
UnversionedNode(Fqn fqn,
CacheSPI<K,V> cache,
boolean lockForChildInsertRemove) |
UnversionedNode(Fqn fqn,
CacheSPI<K,V> cache,
boolean lockForChildInsertRemove,
Map<K,V> data) |
VersionedNode(Fqn fqn,
NodeSPI<K,V> parent,
Map<K,V> data,
CacheSPI<K,V> cache)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static Fqn |
BuddyManager.BUDDY_BACKUP_SUBTREE_FQN |
static Fqn |
BuddyFqnTransformer.BUDDY_BACKUP_SUBTREE_FQN |
Modifier and Type | Method and Description |
---|---|
Fqn |
BuddyFqnTransformer.getActualFqn(Fqn fqn) |
Fqn |
BuddyFqnTransformer.getBackupFqn(org.jgroups.Address dataOwnerAddress,
Fqn origFqn)
Utility method that retrieves a buddy backup Fqn given the actual Fqn of some data and the data owner's Address.
|
Fqn |
Fqn2BuddyFqnVisitor.getBackupFqn(Fqn originalFqn)
Assumes the backup Fqn if the current instance is the data owner.
|
Fqn |
BuddyFqnTransformer.getBackupFqn(Fqn buddyGroupRoot,
Fqn origFqn)
Utility method that retrieves a buddy backup Fqn given the actual Fqn of some data and the backup subtree for the
buddy group in question
|
Fqn |
BuddyFqnTransformer.getBackupFqn(String buddyGroupName,
Fqn origFqn)
Utility method that retrieves a buddy backup Fqn given the actual Fqn of some data and the buddy group name.
|
Fqn |
BuddyFqnTransformer.getBackupRoot(org.jgroups.Address dataOwner) |
Fqn |
BuddyFqnTransformer.getBackupRootFromFqn(Fqn fqn)
Returns the buddy backp root portion of a given Fqn, provided it is a backup Fqn.
|
Fqn |
GravitateResult.getBuddyBackupFqn() |
Fqn |
BuddyFqnTransformer.getDeadBackupRoot(org.jgroups.Address dataOwner)
Returns the backup root of a dead data owner
|
Modifier and Type | Method and Description |
---|---|
List<Fqn<?>> |
BuddyManager.getNewlyDeadBackupFqns(Fqn<?> backupFqn) |
Modifier and Type | Method and Description |
---|---|
Fqn |
BuddyFqnTransformer.getActualFqn(Fqn fqn) |
Fqn |
BuddyFqnTransformer.getBackupFqn(org.jgroups.Address dataOwnerAddress,
Fqn origFqn)
Utility method that retrieves a buddy backup Fqn given the actual Fqn of some data and the data owner's Address.
|
Fqn |
Fqn2BuddyFqnVisitor.getBackupFqn(Fqn originalFqn)
Assumes the backup Fqn if the current instance is the data owner.
|
Fqn |
BuddyFqnTransformer.getBackupFqn(Fqn buddyGroupRoot,
Fqn origFqn)
Utility method that retrieves a buddy backup Fqn given the actual Fqn of some data and the backup subtree for the
buddy group in question
|
Fqn |
BuddyFqnTransformer.getBackupFqn(Fqn buddyGroupRoot,
Fqn origFqn)
Utility method that retrieves a buddy backup Fqn given the actual Fqn of some data and the backup subtree for the
buddy group in question
|
Fqn |
BuddyFqnTransformer.getBackupFqn(String buddyGroupName,
Fqn origFqn)
Utility method that retrieves a buddy backup Fqn given the actual Fqn of some data and the buddy group name.
|
Fqn |
BuddyFqnTransformer.getBackupRootFromFqn(Fqn fqn)
Returns the buddy backp root portion of a given Fqn, provided it is a backup Fqn.
|
List<Fqn<?>> |
BuddyManager.getNewlyDeadBackupFqns(Fqn<?> backupFqn) |
static boolean |
BuddyFqnTransformer.isBackupFqn(Fqn name) |
boolean |
BuddyFqnTransformer.isDeadBackupFqn(Fqn name)
Tests whether a given Fqn belongs to a dead backup region.
|
boolean |
BuddyFqnTransformer.isDeadBackupRoot(Fqn f) |
static GravitateResult |
GravitateResult.subtreeResult(List<NodeData> nodeData,
Fqn fqn)
Factory method that creates a GravitateResult with the data found and the backup fqn it was found in.
|
Modifier and Type | Method and Description |
---|---|
void |
BuddyManager.handleAssignToBuddyGroup(BuddyGroup newGroup,
Map<Fqn,byte[]> state)
Called by
AssignToBuddyGroupCommand thic command is received from a remote cache. |
Modifier and Type | Method and Description |
---|---|
Fqn |
DataCommand.getFqn()
Returns the Fqn of the node on which this command operates.
|
Modifier and Type | Method and Description |
---|---|
AssignToBuddyGroupCommand |
CommandsFactoryImpl.buildAssignToBuddyGroupCommand(BuddyGroup group,
Map<Fqn,byte[]> state) |
AssignToBuddyGroupCommand |
CommandsFactory.buildAssignToBuddyGroupCommand(BuddyGroup group,
Map<Fqn,byte[]> state) |
Constructor and Description |
---|
LegacyGravitateDataCommand(Fqn fqn,
boolean searchSubtrees,
org.jgroups.Address localAddress)
Deprecated.
|
PessGetChildrenNamesCommand(Fqn fqn)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected List<Fqn> |
CreateNodeCommand.newlyCreated
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<Fqn> |
LegacyEvictCommand.getRecursiveEvictionNodes()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
LegacyEvictCommand.evictNode(Fqn fqn,
InvocationContext ctx,
NodeSPI node)
Deprecated.
|
protected NodeSPI |
LegacyEvictCommand.lookupForEviction(InvocationContext ctx,
Fqn fqn)
Deprecated.
|
Constructor and Description |
---|
CreateNodeCommand(Fqn fqn)
Deprecated.
|
LegacyEvictCommand(Fqn fqn)
Deprecated.
|
PessClearDataCommand(GlobalTransaction gtx,
Fqn fqn)
Deprecated.
|
PessMoveCommand(Fqn from,
Fqn to)
Deprecated.
|
PessMoveCommand(Fqn from,
Fqn to)
Deprecated.
|
PessPutDataMapCommand(GlobalTransaction globalTransaction,
Fqn fqn,
Map data)
Deprecated.
|
PessPutForExternalReadCommand(GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value)
Deprecated.
|
PessPutKeyValueCommand(GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value)
Deprecated.
|
PessRemoveKeyCommand(GlobalTransaction gtx,
Fqn fqn,
Object key)
Deprecated.
|
PessRemoveNodeCommand(GlobalTransaction globalTransaction,
Fqn fqn)
Deprecated.
|
VersionedInvalidateCommand(Fqn fqn)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected Fqn |
AbstractDataCommand.fqn |
Modifier and Type | Method and Description |
---|---|
Fqn |
AbstractDataCommand.getFqn() |
Constructor and Description |
---|
ExistsCommand(Fqn fqn) |
GetChildrenNamesCommand(Fqn fqn) |
GetDataMapCommand(Fqn fqn) |
GetKeysCommand(Fqn fqn) |
GetKeyValueCommand(Fqn fqn,
Object key,
boolean sendNodeEvent) |
GetNodeCommand(Fqn fqn) |
GravitateDataCommand(Fqn fqn,
boolean searchSubtrees,
org.jgroups.Address localAddress) |
Modifier and Type | Method and Description |
---|---|
Fqn |
DataGravitationCleanupCommand.getBackup() |
Fqn |
DataGravitationCleanupCommand.getFqn() |
Modifier and Type | Method and Description |
---|---|
Map<Fqn,byte[]> |
AssignToBuddyGroupCommand.getState() |
Constructor and Description |
---|
DataGravitationCleanupCommand(Fqn primary,
Fqn backup) |
DataGravitationCleanupCommand(Fqn primary,
Fqn backup) |
Constructor and Description |
---|
AssignToBuddyGroupCommand(BuddyGroup group,
Map<Fqn,byte[]> state) |
Modifier and Type | Field and Description |
---|---|
protected Fqn |
RemoveNodeCommand.parentFqn |
protected Fqn |
MoveCommand.to |
Modifier and Type | Method and Description |
---|---|
Fqn |
MoveCommand.getTo() |
Modifier and Type | Method and Description |
---|---|
List<Fqn> |
EvictCommand.getNodesToEvict() |
protected Collection<Fqn> |
EvictCommand.getRecursiveEvictionNodes() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
EvictCommand.evictNode(Fqn fqn,
InvocationContext ctx,
NodeSPI node) |
protected NodeSPI |
EvictCommand.lookupForEviction(InvocationContext ctx,
Fqn fqn) |
Modifier and Type | Method and Description |
---|---|
void |
EvictCommand.setNodesToEvict(List<Fqn> nodesToEvict) |
Constructor and Description |
---|
ClearDataCommand(GlobalTransaction gtx,
Fqn fqn) |
EvictCommand(Fqn fqn) |
InvalidateCommand(Fqn fqn) |
MoveCommand(Fqn from,
Fqn to) |
MoveCommand(Fqn from,
Fqn to) |
PutDataMapCommand(GlobalTransaction globalTransaction,
Fqn fqn,
Map data) |
PutForExternalReadCommand(GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value) |
PutKeyValueCommand(GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value) |
RemoveKeyCommand(GlobalTransaction gtx,
Fqn fqn,
Object key) |
RemoveNodeCommand(GlobalTransaction globalTransaction,
Fqn fqn) |
Modifier and Type | Method and Description |
---|---|
Fqn |
EvictionRegionConfig.getRegionFqn() |
Modifier and Type | Method and Description |
---|---|
void |
EvictionRegionConfig.setRegionFqn(Fqn regionFqn) |
Constructor and Description |
---|
EvictionRegionConfig(Fqn fqn) |
EvictionRegionConfig(Fqn regionFqn,
EvictionAlgorithmConfig evictionAlgorithmConfig) |
EvictionRegionConfig(Fqn regionFqn,
EvictionAlgorithmConfig evictionAlgorithmConfig,
int queueSize) |
EvictionRegionConfig(Fqn regionFqn,
EvictionPolicyConfig evictionPolicyConfig)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected Fqn |
BaseEvictionAlgorithm.regionFqn |
Modifier and Type | Field and Description |
---|---|
protected BlockingQueue<Fqn> |
BaseEvictionAlgorithm.recycleQueue
Contains Fqn instances.
|
Modifier and Type | Method and Description |
---|---|
Fqn |
NodeEntry.getFqn() |
Fqn |
EvictionEvent.getFqn() |
Modifier and Type | Method and Description |
---|---|
void |
BaseEvictionAlgorithm.assignToRegion(Fqn fqn,
CacheSPI<?,?> cache,
EvictionAlgorithmConfig evictionAlgorithmConfig,
Configuration configuration) |
void |
EvictionAlgorithm.assignToRegion(Fqn fqn,
CacheSPI<?,?> cache,
EvictionAlgorithmConfig evictionAlgorithmConfig,
Configuration configuration)
Assigns the algorithm instance to a specific region.
|
void |
NullEvictionAlgorithm.assignToRegion(Fqn fqn,
CacheSPI<?,?> cache,
EvictionAlgorithmConfig evictionAlgorithmConfig,
Configuration configuration) |
boolean |
BaseEvictionPolicy.canIgnoreEvent(Fqn fqn,
EvictionEventType eventType)
Deprecated.
|
boolean |
NullEvictionPolicy.canIgnoreEvent(Fqn fqn,
EvictionEventType eventType)
Deprecated.
Returns
true |
boolean |
EvictionPolicy.canIgnoreEvent(Fqn fqn,
EvictionEventType eventType)
Deprecated.
This method will be invoked prior to an event being processed for a node
with the specified Fqn.
|
boolean |
ExpirationPolicy.canIgnoreEvent(Fqn fqn,
EvictionEventType eventType)
Deprecated.
Returns true if it's a visit node event.
|
EvictionEvent |
EvictionEvent.copy(Fqn newRoot)
Copies this evicted event node to create a new one with the same values, except with a new Fqn root.
|
void |
BaseEvictionPolicy.evict(Fqn fqn)
Deprecated.
Evict the node under given Fqn from cache.
|
boolean |
RemoveOnEvictActionPolicy.evict(Fqn fqn) |
void |
NullEvictionPolicy.evict(Fqn fqn)
Deprecated.
No-op
|
void |
EvictionPolicy.evict(Fqn fqn)
Deprecated.
Evict a node form the underlying cache.
|
boolean |
EvictionActionPolicy.evict(Fqn fqn)
Performs an eviction on a given node.
|
boolean |
DefaultEvictionActionPolicy.evict(Fqn fqn) |
protected boolean |
BaseEvictionAlgorithm.evictCacheNode(Fqn fqn)
Evict a node from cache.
|
NodeEntry |
MRUQueue.getNodeEntry(Fqn fqn) |
NodeEntry |
FIFOQueue.getNodeEntry(Fqn fqn) |
NodeEntry |
NullEvictionQueue.getNodeEntry(Fqn fqn)
Returns
null |
NodeEntry |
LFUQueue.getNodeEntry(Fqn fqn) |
NodeEntry |
EvictionQueue.getNodeEntry(Fqn fqn)
Retrieve a node entry by Fqn.
|
NodeEntry |
ElementSizeQueue.getNodeEntry(Fqn fqn) |
NodeEntry |
LRUQueue.getNodeEntry(Fqn fqn) |
protected void |
MRUQueue.moveToTopOfStack(Fqn fqn)
This call moves a NodeEntry to the top of the stack.
|
protected void |
BaseEvictionAlgorithm.processMarkInUseNodes(Fqn fqn,
long inUseTimeout) |
protected void |
BaseEvictionAlgorithm.processUnmarkInUseNodes(Fqn fqn) |
protected void |
LRUQueue.reorderByLRU(Fqn fqn) |
void |
EvictionEvent.setFqn(Fqn fqn) |
Constructor and Description |
---|
EvictedEventNode(Fqn fqn,
EvictionEvent.Type type,
int elementDifference)
Deprecated.
|
EvictionEvent(Fqn fqn,
EvictionEvent.Type type,
int elementDifference,
DataCommand command,
Transaction tx) |
NodeEntry(Fqn fqn) |
Modifier and Type | Method and Description |
---|---|
protected DataVersion |
InvalidationInterceptor.getNodeVersion(TransactionWorkspace w,
Fqn f) |
protected Region |
BuddyRegionAwareEvictionInterceptor.getRegion(Fqn fqn) |
protected Region |
EvictionInterceptor.getRegion(Fqn fqn) |
protected void |
OptimisticInterceptor.greedyGetFqns(List<Fqn> list,
NodeSPI<?,?> n,
Fqn newBase)
Deprecated.
Adds the Fqn of the node as well as all children and childrens children to the list.
|
protected void |
InvalidationInterceptor.invalidateAcrossCluster(Fqn fqn,
TransactionWorkspace workspace,
boolean synchronous,
InvocationContext ctx) |
protected void |
LegacyCacheLoaderInterceptor.lock(Fqn fqn,
LockType lockType,
boolean recursive,
InvocationContext ctx)
Deprecated.
|
protected boolean |
LegacyDataGravitatorInterceptor.nodeDoesNotExist(InvocationContext ctx,
Fqn fqn)
Deprecated.
|
protected boolean |
DataGravitatorInterceptor.nodeDoesNotExist(InvocationContext ctx,
Fqn fqn) |
protected void |
PassivationInterceptor.passivate(InvocationContext ctx,
Fqn fqn) |
protected void |
ActivationInterceptor.recordNodeLoaded(InvocationContext ctx,
Fqn fqn) |
protected void |
CacheLoaderInterceptor.recordNodeLoaded(InvocationContext ctx,
Fqn fqn) |
protected void |
LegacyActivationInterceptor.recordNodeLoaded(InvocationContext ctx,
Fqn fqn)
Deprecated.
|
protected void |
LegacyCacheLoaderInterceptor.recordNodeLoaded(InvocationContext ctx,
Fqn fqn)
Deprecated.
|
protected void |
CacheStoreInterceptor.storeStateForPutDataMap(Fqn f,
InvocationContext ctx) |
protected void |
LegacyCacheStoreInterceptor.storeStateForPutDataMap(Fqn f,
InvocationContext ctx)
Deprecated.
|
protected void |
LegacyDataGravitatorInterceptor.wrapIfNeeded(InvocationContext ctx,
Fqn fqnToWrap)
Deprecated.
|
protected void |
DataGravitatorInterceptor.wrapIfNeeded(InvocationContext ctx,
Fqn fqnToWrap) |
Modifier and Type | Method and Description |
---|---|
protected void |
OptimisticInterceptor.greedyGetFqns(List<Fqn> list,
NodeSPI<?,?> n,
Fqn newBase)
Deprecated.
Adds the Fqn of the node as well as all children and childrens children to the list.
|
Modifier and Type | Method and Description |
---|---|
Fqn |
NodeInvocationDelegate.getFqn() |
Modifier and Type | Method and Description |
---|---|
Set<Fqn> |
CacheInvocationDelegate.getInternalFqns() |
Map<Fqn,NodeSPI> |
MVCCInvocationContext.getLookedUpNodes()
Retrieves a map of nodes looked up within the current invocation's scope.
|
Map<Fqn,NodeSPI> |
LegacyInvocationContext.getLookedUpNodes()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Node<K,V> |
NodeInvocationDelegate.addChild(Fqn f) |
NodeSPI<K,V> |
NodeInvocationDelegate.addChildDirect(Fqn childName) |
NodeSPI<K,V> |
NodeInvocationDelegate.addChildDirect(Fqn f,
boolean notify) |
void |
CacheInvocationDelegate.clearData(Fqn fqn)
Removes the keys and properties from a named node.
|
void |
CacheInvocationDelegate.evict(Fqn fqn) |
void |
CacheInvocationDelegate.evict(Fqn fqn,
boolean recursive) |
boolean |
CacheInvocationDelegate.exists(Fqn fqn) |
V |
CacheInvocationDelegate.get(Fqn fqn,
K key) |
Node<K,V> |
NodeInvocationDelegate.getChild(Fqn f) |
NodeSPI<K,V> |
NodeInvocationDelegate.getChildDirect(Fqn childName) |
Set<Object> |
CacheInvocationDelegate.getChildrenNames(Fqn fqn) |
Map<K,V> |
CacheInvocationDelegate.getData(Fqn fqn) |
Set<K> |
CacheInvocationDelegate.getKeys(Fqn fqn) |
NodeSPI<K,V> |
CacheInvocationDelegate.getNode(Fqn fqn) |
Region |
CacheInvocationDelegate.getRegion(Fqn fqn,
boolean createIfAbsent) |
GravitateResult |
CacheInvocationDelegate.gravitateData(Fqn fqn,
boolean searchBuddyBackupSubtrees,
InvocationContext ctx) |
boolean |
NodeInvocationDelegate.hasChild(Fqn f) |
boolean |
CacheInvocationDelegate.isLeaf(Fqn fqn) |
NodeSPI |
MVCCInvocationContext.lookUpNode(Fqn fqn)
Retrieves a node from the registry of looked up nodes in the current scope.
|
NodeSPI |
LegacyInvocationContext.lookUpNode(Fqn fqn)
Deprecated.
|
void |
CacheInvocationDelegate.move(Fqn nodeToMove,
Fqn newParent) |
void |
CacheInvocationDelegate.move(Fqn nodeToMove,
Fqn newParent) |
NodeSPI<K,V> |
CacheInvocationDelegate.peek(Fqn fqn,
boolean includeDeletedNodes) |
NodeSPI<K,V> |
CacheInvocationDelegate.peek(Fqn fqn,
boolean includeDeletedNodes,
boolean includeInvalidNodes) |
V |
CacheInvocationDelegate.put(Fqn fqn,
K key,
V value) |
void |
CacheInvocationDelegate.put(Fqn fqn,
Map<? extends K,? extends V> data) |
void |
CacheInvocationDelegate.putForExternalRead(Fqn fqn,
K key,
V value) |
void |
MVCCInvocationContext.putLookedUpNode(Fqn f,
NodeSPI n)
Puts an entry in the registry of looked up nodes in the current scope.
|
void |
LegacyInvocationContext.putLookedUpNode(Fqn f,
NodeSPI n)
Deprecated.
|
V |
CacheInvocationDelegate.remove(Fqn fqn,
K key) |
boolean |
NodeInvocationDelegate.removeChild(Fqn f) |
boolean |
NodeInvocationDelegate.removeChildDirect(Fqn fqn) |
boolean |
CacheInvocationDelegate.removeNode(Fqn fqn) |
boolean |
CacheInvocationDelegate.removeRegion(Fqn fqn) |
void |
NodeInvocationDelegate.setFqn(Fqn f) |
Modifier and Type | Method and Description |
---|---|
void |
MVCCInvocationContext.putLookedUpNodes(Map<Fqn,NodeSPI> lookedUpNodes) |
void |
LegacyInvocationContext.putLookedUpNodes(Map<Fqn,NodeSPI> lookedUpNodes)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
TcpDelegatingCacheLoader._exists(Fqn name) |
protected Map<Object,Object> |
TcpDelegatingCacheLoader._get(Fqn name) |
protected Set<?> |
TcpDelegatingCacheLoader._getChildrenNames(Fqn fqn) |
protected void |
TcpDelegatingCacheLoader._put(Fqn name,
Map<Object,Object> attributes) |
protected Object |
TcpDelegatingCacheLoader._put(Fqn name,
Object key,
Object value) |
protected void |
TcpDelegatingCacheLoader._remove(Fqn fqn) |
protected Object |
TcpDelegatingCacheLoader._remove(Fqn fqn,
Object key) |
protected void |
TcpDelegatingCacheLoader._removeData(Fqn fqn) |
protected void |
AbstractCacheLoader.doMarshall(Fqn fqn,
Object toMarshall) |
protected void |
FileCacheLoader.doMarshall(Fqn fqn,
Object toMarshall) |
protected Object |
AbstractCacheLoader.doUnmarshall(Fqn fqn,
Object toUnmarshall) |
protected Object |
FileCacheLoader.doUnmarshall(Fqn fqn,
Object fromFile) |
boolean |
ChainingCacheLoader.exists(Fqn name)
Checks whether the CacheLoader has a node with Fqn
|
boolean |
LocalDelegatingCacheLoader.exists(Fqn name) |
boolean |
FileCacheLoader.exists(Fqn fqn) |
boolean |
CacheLoader.exists(Fqn name)
Returns true if the CacheLoader has a node with a
Fqn . |
boolean |
ClusteredCacheLoader.exists(Fqn name) |
boolean |
AdjListJDBCCacheLoader.exists(Fqn name)
Checks that there is a row for the fqn in the database.
|
boolean |
AbstractDelegatingCacheLoader.exists(Fqn name) |
boolean |
TcpDelegatingCacheLoader.exists(Fqn name) |
Map |
ChainingCacheLoader.get(Fqn name)
Returns all keys and values from the persistent store, given a fully qualified name
|
Map<Object,Object> |
LocalDelegatingCacheLoader.get(Fqn name) |
Map |
FileCacheLoader.get(Fqn fqn) |
Map<Object,Object> |
CacheLoader.get(Fqn name)
Returns all keys and values from the persistent store, given a
Fqn |
Map |
AsyncCacheLoader.get(Fqn name) |
Map |
ClusteredCacheLoader.get(Fqn name) |
Map<Object,Object> |
AdjListJDBCCacheLoader.get(Fqn name)
Returns a map representing a node.
|
Map |
AbstractDelegatingCacheLoader.get(Fqn name) |
Map<Object,Object> |
TcpDelegatingCacheLoader.get(Fqn name) |
protected Map |
ClusteredCacheLoader.get0(Fqn name) |
Set<?> |
ChainingCacheLoader.getChildrenNames(Fqn fqn)
Returns a list of children names, all names are relative.
|
Set<?> |
LocalDelegatingCacheLoader.getChildrenNames(Fqn fqn) |
Set<String> |
FileCacheLoader.getChildrenNames(Fqn fqn) |
Set<?> |
CacheLoader.getChildrenNames(Fqn fqn)
Returns a set of children node names.
|
Set |
ClusteredCacheLoader.getChildrenNames(Fqn fqn) |
Set<String> |
AdjListJDBCCacheLoader.getChildrenNames(Fqn fqn)
Fetches child node names (not pathes).
|
Set |
AbstractDelegatingCacheLoader.getChildrenNames(Fqn fqn) |
Set<?> |
TcpDelegatingCacheLoader.getChildrenNames(Fqn fqn) |
protected void |
AbstractCacheLoader.getNodeDataList(Fqn fqn,
List<NodeData> list) |
protected void |
JDBCCacheLoader.getNodeDataList(Fqn fqn,
List<NodeData> list)
Subscribes to contract.
|
protected void |
AdjListJDBCCacheLoader.insertNode(Fqn name,
Map dataMap,
boolean rowMayExist)
Inserts a node into the database
|
protected boolean |
FileCacheLoader.isCharacterPortableTree(Fqn fqn) |
protected Map |
FileCacheLoader.loadAttributes(Fqn fqn) |
protected Map<Object,Object> |
AdjListJDBCCacheLoader.loadNode(Fqn name)
Loads a node from the database.
|
Object |
CacheLoaderAop.loadObject(Fqn name)
Loads an object from a persistent store.
|
void |
AbstractCacheLoader.loadState(Fqn subtree,
ObjectOutputStream os) |
void |
ChainingCacheLoader.loadState(Fqn subtree,
ObjectOutputStream os) |
void |
LocalDelegatingCacheLoader.loadState(Fqn subtree,
ObjectOutputStream os) |
void |
CacheLoader.loadState(Fqn subtree,
ObjectOutputStream os)
Fetches a portion of the state for this cache from secondary storage (disk, database)
and writes it to a provided ObjectOutputStream.
|
void |
ClusteredCacheLoader.loadState(Fqn subtree,
ObjectOutputStream os) |
void |
AbstractDelegatingCacheLoader.loadState(Fqn subtree,
ObjectOutputStream os) |
void |
TcpDelegatingCacheLoader.loadState(Fqn subtree,
ObjectOutputStream os) |
protected void |
AbstractCacheLoader.loadStateHelper(Fqn fqn,
ObjectOutputStream out)
Do a preorder traversal: visit the node first, then the node's children
|
protected void |
AbstractCacheLoader.move(Fqn fqn,
Fqn parent) |
protected void |
AbstractCacheLoader.move(Fqn fqn,
Fqn parent) |
protected void |
AdjListJDBCCacheLoader.populatePreparedStatementForInsert(Fqn name,
Map dataMap,
PreparedStatement ps)
Expects a PreparedStatement binded to
AdjListJDBCCacheLoaderConfig.getInsertNodeSql() |
void |
CacheLoaderManager.preload(Fqn fqn,
boolean preloadParents,
boolean preloadChildren)
Preloads a specific Fqn into the cache from the configured cacheloader
|
void |
ChainingCacheLoader.put(Fqn name,
Map attributes)
Inserts all elements of attributes into the attributes hashmap of the given node, overwriting existing
attributes, but not clearing the existing hashmap before insertion (making it a union of existing and
new attributes)
If the node does not exist, all parent nodes from the root down are created automatically
|
void |
FileCacheLoader.put(Fqn fqn,
Map attributes) |
void |
SingletonStoreCacheLoader.put(Fqn name,
Map attributes)
Calls the underlying cache loader's operation if the current node is the coordinator.
|
void |
AsyncCacheLoader.put(Fqn name,
Map attributes) |
void |
ClusteredCacheLoader.put(Fqn name,
Map attributes)
Does nothing; replication handles put.
|
void |
JDBCCacheLoaderOld.put(Fqn name,
Map attributes)
Deprecated.
Adds attributes from the passed in map to the existing node.
|
void |
JDBCCacheLoader.put(Fqn name,
Map attributes)
As per interface's contract.
|
void |
AbstractDelegatingCacheLoader.put(Fqn name,
Map attributes) |
void |
ReadOnlyDelegatingCacheLoader.put(Fqn name,
Map attributes) |
void |
LocalDelegatingCacheLoader.put(Fqn name,
Map<Object,Object> attributes) |
void |
CacheLoader.put(Fqn name,
Map<Object,Object> attributes)
Puts all entries of the map into the existing map of the given node,
overwriting existing keys, but not clearing the existing map before
insertion.
|
void |
TcpDelegatingCacheLoader.put(Fqn name,
Map<Object,Object> attributes) |
void |
AbstractCacheLoader.put(Fqn fqn,
Map<Object,Object> attributes,
boolean erase) |
void |
FileCacheLoader.put(Fqn fqn,
Map attributes,
boolean erase) |
void |
JDBCCacheLoaderOld.put(Fqn name,
Map attributes,
boolean override)
Deprecated.
|
Object |
ChainingCacheLoader.put(Fqn name,
Object key,
Object value)
Inserts key and value into the attributes hashmap of the given node.
|
Object |
LocalDelegatingCacheLoader.put(Fqn name,
Object key,
Object value) |
Object |
FileCacheLoader.put(Fqn fqn,
Object key,
Object value) |
Object |
SingletonStoreCacheLoader.put(Fqn name,
Object key,
Object value)
Calls the underlying cache loader's operation if the current node is the coordinator.
|
Object |
CacheLoader.put(Fqn name,
Object key,
Object value)
Puts a key and value into the attribute map of a given node.
|
Object |
AsyncCacheLoader.put(Fqn name,
Object key,
Object value) |
Object |
ClusteredCacheLoader.put(Fqn name,
Object key,
Object value) |
Object |
JDBCCacheLoaderOld.put(Fqn name,
Object key,
Object value)
Deprecated.
Adds/overrides a value in a node for a key.
|
Object |
JDBCCacheLoader.put(Fqn name,
Object key,
Object value)
As per interface's contract.
|
Object |
AbstractDelegatingCacheLoader.put(Fqn name,
Object key,
Object value) |
Object |
TcpDelegatingCacheLoader.put(Fqn name,
Object key,
Object value) |
Object |
ReadOnlyDelegatingCacheLoader.put(Fqn name,
Object key,
Object value) |
protected void |
AbstractCacheLoader.regionAwareMarshall(Fqn fqn,
Object toMarshall) |
protected Object |
AbstractCacheLoader.regionAwareUnmarshall(Fqn fqn,
Object toUnmarshall) |
void |
ChainingCacheLoader.remove(Fqn name)
Removes the given node.
|
void |
LocalDelegatingCacheLoader.remove(Fqn fqn) |
void |
FileCacheLoader.remove(Fqn fqn) |
void |
SingletonStoreCacheLoader.remove(Fqn fqn)
Calls the underlying cache loader's operation if the current node is the coordinator.
|
void |
CacheLoader.remove(Fqn fqn)
Removes the given node and all its subnodes, does nothing if the node does not exist.
|
void |
AsyncCacheLoader.remove(Fqn name) |
void |
ClusteredCacheLoader.remove(Fqn name)
Does nothing; replication handles removal.
|
void |
JDBCCacheLoaderOld.remove(Fqn name)
Deprecated.
Removes a node and all its children.
|
void |
JDBCCacheLoader.remove(Fqn fqn)
As per interface's contrect.
|
void |
AbstractDelegatingCacheLoader.remove(Fqn fqn) |
void |
TcpDelegatingCacheLoader.remove(Fqn fqn) |
void |
ReadOnlyDelegatingCacheLoader.remove(Fqn fqn) |
Object |
ChainingCacheLoader.remove(Fqn name,
Object key)
Removes the given key and value from the attributes of the given node.
|
Object |
LocalDelegatingCacheLoader.remove(Fqn fqn,
Object key) |
Object |
FileCacheLoader.remove(Fqn fqn,
Object key) |
Object |
SingletonStoreCacheLoader.remove(Fqn fqn,
Object key)
Calls the underlying cache loader's operation if the current node is the coordinator.
|
Object |
CacheLoader.remove(Fqn fqn,
Object key)
Removes the given key and value from the attributes of the given node.
|
Object |
AsyncCacheLoader.remove(Fqn name,
Object key) |
Object |
ClusteredCacheLoader.remove(Fqn name,
Object key)
Fetches the remove value, does not remove.
|
Object |
AdjListJDBCCacheLoader.remove(Fqn name,
Object key)
Removes attribute's value for a key.
|
Object |
AbstractDelegatingCacheLoader.remove(Fqn fqn,
Object key) |
Object |
TcpDelegatingCacheLoader.remove(Fqn fqn,
Object key) |
Object |
ReadOnlyDelegatingCacheLoader.remove(Fqn fqn,
Object key) |
void |
ChainingCacheLoader.removeData(Fqn name)
Removes all attributes from a given node, but doesn't delete the node itself
|
void |
LocalDelegatingCacheLoader.removeData(Fqn fqn) |
void |
FileCacheLoader.removeData(Fqn fqn) |
void |
SingletonStoreCacheLoader.removeData(Fqn fqn)
Calls the underlying cache loader's operation if the current node is the coordinator.
|
void |
CacheLoader.removeData(Fqn fqn)
Removes all attributes from a given node, but doesn't delete the node
itself or any subnodes.
|
void |
AsyncCacheLoader.removeData(Fqn name) |
void |
ClusteredCacheLoader.removeData(Fqn name)
Does nothing; replication handles removal.
|
void |
AdjListJDBCCacheLoader.removeData(Fqn name)
Nullifies the node.
|
void |
AbstractDelegatingCacheLoader.removeData(Fqn fqn) |
void |
TcpDelegatingCacheLoader.removeData(Fqn fqn) |
void |
ReadOnlyDelegatingCacheLoader.removeData(Fqn fqn) |
void |
CacheLoaderAop.removeObject(Fqn name)
Removes the object with the given key from the persistent store.
|
protected void |
FileCacheLoader.storeAttributes(Fqn fqn,
Map attrs) |
void |
CacheLoaderAop.storeObject(Fqn name,
Object pojo)
Stores an object under a given key in the persistent store.
|
void |
AbstractCacheLoader.storeState(Fqn subtree,
ObjectInputStream in) |
void |
ChainingCacheLoader.storeState(Fqn subtree,
ObjectInputStream is) |
void |
LocalDelegatingCacheLoader.storeState(Fqn subtree,
ObjectInputStream is) |
void |
SingletonStoreCacheLoader.storeState(Fqn subtree,
ObjectInputStream is)
Calls the underlying cache loader's operation if the current node is the coordinator.
|
void |
CacheLoader.storeState(Fqn subtree,
ObjectInputStream is)
Stores the given portion of the cache tree's state in secondary storage.
|
void |
ClusteredCacheLoader.storeState(Fqn subtree,
ObjectInputStream is) |
void |
JDBCCacheLoader.storeState(Fqn subtree,
ObjectInputStream in) |
void |
AbstractDelegatingCacheLoader.storeState(Fqn subtree,
ObjectInputStream is) |
void |
TcpDelegatingCacheLoader.storeState(Fqn subtree,
ObjectInputStream is) |
void |
ReadOnlyDelegatingCacheLoader.storeState(Fqn subtree,
ObjectInputStream is) |
protected void |
AbstractCacheLoader.storeStateHelper(Fqn subtree,
List nodeData,
boolean moveToBuddy) |
protected void |
JDBCCacheLoader.storeStateHelper(Fqn subtree,
List nodeData,
boolean moveToBuddy) |
protected void |
AdjListJDBCCacheLoader.updateNode(Fqn name,
Map<Object,Object> node)
Updates a node in the database.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JdbmCacheLoader2.exists(Fqn name) |
boolean |
JdbmCacheLoader.exists(Fqn name)
Returns whether the given node exists.
|
Map |
JdbmCacheLoader2.get(Fqn name) |
Map |
JdbmCacheLoader.get(Fqn name)
Returns a map containing all key-value pairs for the given FQN, or null
if the node is not present.
|
Set<?> |
JdbmCacheLoader.getChildrenNames(Fqn name)
Returns an unmodifiable set of relative children names, or
returns null if the parent node is not found or if no children are found.
|
void |
JdbmCacheLoader.put(Fqn name,
Map values)
Stores a map of key-values for a given FQN, but does not delete existing
key-value pairs (that is, it does not erase).
|
Object |
JdbmCacheLoader.put(Fqn name,
Object key,
Object value)
Stores a single FQN-key-value record.
|
void |
JdbmCacheLoader.remove(Fqn name)
Deletes the node for a given FQN and all its descendent nodes.
|
Object |
JdbmCacheLoader.remove(Fqn name,
Object key)
Deletes a single FQN-key-value record.
|
void |
JdbmCacheLoader.removeData(Fqn name)
Clears the map for the given node, but does not remove the node.
|
Modifier and Type | Method and Description |
---|---|
Fqn |
IdentityLock.getFqn()
Deprecated.
Returns the FQN this lock, may be
null . |
Fqn |
NodeLock.getFqn()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
StripedLock.acquireLock(Fqn fqn,
boolean exclusive)
Blocks until a lock is acquired.
|
static boolean |
LockUtil.breakTransactionLock(Fqn fqn,
LockManager lockManager,
GlobalTransaction gtx,
boolean localTx,
TransactionTable tx_table,
TransactionManager tm) |
Collection<Object> |
LockManager.getReadOwners(Fqn f)
Retrieves the read lock owners, if any, for the current Fqn.
|
Collection<Object> |
NodeBasedLockManager.getReadOwners(Fqn f)
Deprecated.
|
Collection<Object> |
MVCCLockManager.getReadOwners(Fqn f) |
Object |
LockManager.getWriteOwner(Fqn f)
Retrieves the write lock owner, if any, for the current Fqn.
|
Object |
NodeBasedLockManager.getWriteOwner(Fqn f)
Deprecated.
|
Object |
MVCCLockManager.getWriteOwner(Fqn f) |
boolean |
LockManager.isLocked(Fqn fqn)
Returns true if the node is locked (either for reading or writing) by anyone, and false otherwise.
|
boolean |
NodeBasedLockManager.isLocked(Fqn fqn)
Deprecated.
|
boolean |
MVCCLockManager.isLocked(Fqn fqn) |
boolean |
LockManager.lock(Fqn fqn,
LockType lockType,
Object owner)
Acquires a lock of type lockType, for a given owner, on a specific Node in the cache, denoted by fqn.
|
boolean |
NodeBasedLockManager.lock(Fqn fqn,
LockType lockType,
Object owner)
Deprecated.
|
boolean |
MVCCLockManager.lock(Fqn fqn,
LockType lockType,
Object owner) |
boolean |
LockManager.lock(Fqn fqn,
LockType lockType,
Object owner,
long timeout)
Acquires a lock of type lockType, for a given owner, on a specific Node in the cache, denoted by fqn.
|
boolean |
NodeBasedLockManager.lock(Fqn fqn,
LockType lockType,
Object owner,
long timeout)
Deprecated.
|
boolean |
MVCCLockManager.lock(Fqn fqn,
LockType lockType,
Object owner,
long timeoutMillis) |
boolean |
LockManager.lockAllAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx)
Locks the node and all child nodes, acquiring lock of type specified for the owner specified.
|
boolean |
NodeBasedLockManager.lockAllAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx)
Deprecated.
|
boolean |
MVCCLockManager.lockAllAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx) |
boolean |
LockManager.lockAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx)
Acquires a lock of type lockType, on a specific Node in the cache, denoted by fqn.
|
boolean |
NodeBasedLockManager.lockAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx)
Deprecated.
|
boolean |
MVCCLockManager.lockAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx) |
boolean |
PessimisticNodeBasedLockManager.lockPessimistically(InvocationContext ctx,
Fqn fqn,
LockType lockType,
boolean createIfNotExists,
boolean zeroLockTimeout,
boolean acquireWriteLockOnParent,
boolean reverseRemoveCheck,
List<NodeSPI> createdNodes,
boolean skipNotification)
Deprecated.
A specific lock method for the PessimisticLockInterceptor.
|
boolean |
LockManager.ownsLock(Fqn fqn,
LockType lockType,
Object owner)
Tests whether a given owner owns a lock of lockType on a particular Fqn.
|
boolean |
NodeBasedLockManager.ownsLock(Fqn fqn,
LockType lockType,
Object owner)
Deprecated.
|
boolean |
MVCCLockManager.ownsLock(Fqn fqn,
LockType lockType,
Object owner) |
boolean |
LockManager.ownsLock(Fqn fqn,
Object owner)
Tests whether a given owner owns any sort of lock on a particular Fqn.
|
boolean |
NodeBasedLockManager.ownsLock(Fqn fqn,
Object owner)
Deprecated.
|
boolean |
MVCCLockManager.ownsLock(Fqn fqn,
Object owner) |
void |
StripedLock.releaseLock(Fqn fqn)
Releases a lock the caller may be holding.
|
void |
LockManager.unlock(Fqn fqn,
Object owner)
Releases the lock passed in, held by the specified owner
|
void |
NodeBasedLockManager.unlock(Fqn fqn,
Object owner)
Deprecated.
|
void |
MVCCLockManager.unlock(Fqn fqn,
Object owner) |
Modifier and Type | Method and Description |
---|---|
void |
StripedLock.acquireAllLocks(List<Fqn> fqns,
boolean exclusive)
Acquires locks on all fqns passed in.
|
void |
StripedLock.releaseAllLocks(List<Fqn> fqns)
Releases locks on all fqns passed in.
|
Modifier and Type | Field and Description |
---|---|
Fqn |
RegionalizedMethodCall.region |
Modifier and Type | Method and Description |
---|---|
protected Fqn |
AbstractMarshaller.extractFqn(ReplicableCommand cmd) |
Fqn |
NodeData.getFqn() |
protected Fqn |
CacheMarshaller200.unmarshallFqn(ObjectInputStream in,
UnmarshalledReferences refMap) |
Modifier and Type | Method and Description |
---|---|
protected void |
CacheMarshaller200.marshallFqn(Fqn fqn,
ObjectOutputStream out,
Map<Object,Integer> refMap) |
void |
CacheMarshaller200.objectToObjectStream(Object o,
ObjectOutputStream out,
Fqn region) |
void |
Marshaller.objectToObjectStream(Object obj,
ObjectOutputStream out,
Fqn region)
Overloaded form of
Marshaller.objectToObjectStream(Object,java.io.ObjectOutputStream) which adds a hint to the Fqn region |
void |
VersionAwareMarshaller.objectToObjectStream(Object obj,
ObjectOutputStream out,
Fqn region) |
Constructor and Description |
---|
NodeData(Fqn fqn) |
NodeData(Fqn fqn,
Map<K,V> attrs,
boolean mapSafe) |
Modifier and Type | Method and Description |
---|---|
Fqn |
NodeReference.getFqn() |
Fqn |
NullMarkerNodeForRemoval.getFqn() |
Modifier and Type | Method and Description |
---|---|
List<Fqn> |
MVCCNodeHelper.wrapNodesRecursivelyForRemoval(InvocationContext ctx,
Fqn fqn)
Wraps a node and all its subnodes and adds them to the context, acquiring write locks for them all.
|
Modifier and Type | Method and Description |
---|---|
NodeSPI<K,V> |
NodeReference.addChildDirect(Fqn f) |
NodeSPI<K,V> |
NodeReference.addChildDirect(Fqn f,
boolean notify) |
InternalNode<K,V> |
MVCCNodeFactory.createChildNode(Fqn fqn,
InternalNode<K,V> parent,
InvocationContext ctx,
boolean attachToParent) |
InternalNode<K,V> |
MVCCNodeFactory.createInternalNode(Fqn fqn) |
NodeSPI<K,V> |
MVCCNodeFactory.createNode(Fqn fqn,
NodeSPI<K,V> parent) |
NodeSPI<K,V> |
MVCCNodeFactory.createNode(Fqn fqn,
NodeSPI<K,V> parent,
Map<K,V> data) |
ReadCommittedNode |
MVCCNodeFactory.createWrappedNodeForRemoval(Fqn fqn,
InternalNode<K,V> node,
InternalNode<K,V> parent) |
InternalNode<K,V> |
NodeReference.getChild(Fqn f) |
NodeSPI<K,V> |
NodeReference.getChildDirect(Fqn fqn) |
protected InternalNode |
ReadCommittedNode.lookupParent(Fqn fqn,
InvocationContext ctx,
DataContainer container)
Performs a lookup for the parent node of the Fqn passed in.
|
boolean |
NodeReference.removeChild(Fqn f) |
void |
NodeReference.setFqn(Fqn fqn) |
protected void |
RepeatableReadNode.updateNode(Fqn fqn,
InvocationContext ctx,
DataContainer dataContainer) |
protected void |
NullMarkerNodeForRemoval.updateNode(Fqn fqn,
InvocationContext ctx,
DataContainer dataContainer) |
protected void |
ReadCommittedNode.updateNode(Fqn fqn,
InvocationContext ctx,
DataContainer dataContainer)
Updates state changes on the current node in the underlying data structure.
|
NodeSPI |
MVCCNodeHelper.wrapNodeForReading(InvocationContext ctx,
Fqn fqn,
boolean putInContext)
Similar to
MVCCNodeHelper.wrapNodesForReading(org.jboss.cache.InvocationContext, java.util.Collection) except that this
version takes a single Fqn parameter to wrap a single node. |
ReadCommittedNode |
MVCCNodeHelper.wrapNodeForWriting(InvocationContext context,
Fqn fqn,
boolean lockForWriting,
boolean createIfAbsent,
boolean includeInvalidNodes,
boolean forRemoval,
boolean force)
First checks in contexts for the existence of the node.
|
ReadCommittedNode |
MVCCNodeHelper.wrapNodeForWriting(InvocationContext context,
Fqn fqn,
boolean lockForWriting,
boolean createIfAbsent,
boolean includeInvalidNodes,
boolean forRemoval,
boolean force,
boolean childIsNull) |
List<Fqn> |
MVCCNodeHelper.wrapNodesRecursivelyForRemoval(InvocationContext ctx,
Fqn fqn)
Wraps a node and all its subnodes and adds them to the context, acquiring write locks for them all.
|
Modifier and Type | Method and Description |
---|---|
void |
MVCCNodeHelper.wrapNodesForReading(InvocationContext ctx,
Collection<Fqn> fqns)
Attempts to provide the context with a set of wrapped nodes based on the Collection of fqns passed in.
|
Constructor and Description |
---|
NullMarkerNodeForRemoval(InternalNode parent,
Fqn fqn) |
Modifier and Type | Method and Description |
---|---|
void |
NotifierImpl.notifyNodeActivated(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx) |
void |
Notifier.notifyNodeActivated(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx)
Notifies all registered listeners of a nodeActivated event.
|
void |
NotifierImpl.notifyNodeCreated(Fqn fqn,
boolean pre,
InvocationContext ctx) |
void |
Notifier.notifyNodeCreated(Fqn fqn,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a nodeCreated event.
|
void |
NotifierImpl.notifyNodeEvicted(Fqn fqn,
boolean pre,
InvocationContext ctx) |
void |
Notifier.notifyNodeEvicted(Fqn fqn,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a nodeEvicted event.
|
void |
NotifierImpl.notifyNodeInvalidated(Fqn fqn,
boolean pre,
InvocationContext ctx) |
void |
Notifier.notifyNodeInvalidated(Fqn fqn,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a nodeInvalidated event.
|
void |
NotifierImpl.notifyNodeLoaded(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx) |
void |
Notifier.notifyNodeLoaded(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx)
Notifies all registered listeners of a nodeLoaded event.
|
void |
NotifierImpl.notifyNodeModified(Fqn fqn,
boolean pre,
NodeModifiedEvent.ModificationType modificationType,
Map data,
InvocationContext ctx) |
void |
Notifier.notifyNodeModified(Fqn fqn,
boolean pre,
NodeModifiedEvent.ModificationType modificationType,
Map data,
InvocationContext ctx)
Notifies all registered listeners of a nodeModified event.
|
void |
NotifierImpl.notifyNodeMoved(Fqn originalFqn,
Fqn newFqn,
boolean pre,
InvocationContext ctx) |
void |
NotifierImpl.notifyNodeMoved(Fqn originalFqn,
Fqn newFqn,
boolean pre,
InvocationContext ctx) |
void |
Notifier.notifyNodeMoved(Fqn originalFqn,
Fqn newFqn,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a nodeMoved event.
|
void |
Notifier.notifyNodeMoved(Fqn originalFqn,
Fqn newFqn,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a nodeMoved event.
|
void |
NotifierImpl.notifyNodePassivated(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx) |
void |
Notifier.notifyNodePassivated(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx)
Notifies all registered listeners of a nodePassivated event.
|
void |
NotifierImpl.notifyNodeRemoved(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx) |
void |
Notifier.notifyNodeRemoved(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx)
Notifies all registered listeners of a nodeRemoved event.
|
void |
NotifierImpl.notifyNodeVisited(Fqn fqn,
boolean pre,
InvocationContext ctx) |
void |
Notifier.notifyNodeVisited(Fqn fqn,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a nodeVisited event.
|
Modifier and Type | Method and Description |
---|---|
Fqn |
NodeEvent.getFqn() |
Fqn |
EventImpl.getFqn() |
Fqn |
EventImpl.getTargetFqn() |
Fqn |
NodeMovedEvent.getTargetFqn() |
Modifier and Type | Method and Description |
---|---|
void |
EventImpl.setFqn(Fqn fqn) |
void |
EventImpl.setTargetFqn(Fqn targetFqn) |
Constructor and Description |
---|
EventImpl(boolean pre,
Cache cache,
NodeModifiedEvent.ModificationType modificationType,
Map data,
Fqn fqn,
Transaction transaction,
boolean originLocal,
Fqn targetFqn,
boolean successful,
org.jgroups.View newView,
Event.Type type) |
EventImpl(boolean pre,
Cache cache,
NodeModifiedEvent.ModificationType modificationType,
Map data,
Fqn fqn,
Transaction transaction,
boolean originLocal,
Fqn targetFqn,
boolean successful,
org.jgroups.View newView,
Event.Type type) |
Modifier and Type | Method and Description |
---|---|
Fqn |
WorkspaceNodeImpl.getFqn()
Deprecated.
|
Fqn |
WorkspaceNode.getFqn()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Set<Fqn> |
WorkspaceNodeImpl.getChildrenAddedSet()
Deprecated.
|
protected Set<Fqn> |
WorkspaceNodeImpl.getChildrenRemovedSet()
Deprecated.
|
List<Set<Fqn>> |
WorkspaceNodeImpl.getMergedChildren()
Deprecated.
|
List<Set<Fqn>> |
WorkspaceNode.getMergedChildren()
Deprecated.
Returns 2 Sets - a set of children added (first set) and a set of children removed.
|
Map<Fqn,WorkspaceNode<K,V>> |
TransactionWorkspaceImpl.getNodes()
Deprecated.
Returns the nodes.
|
Map<Fqn,WorkspaceNode<K,V>> |
TransactionWorkspace.getNodes()
Deprecated.
|
SortedMap<Fqn,WorkspaceNode<K,V>> |
TransactionWorkspaceImpl.getNodesAfter(Fqn fqn)
Deprecated.
|
SortedMap<Fqn,WorkspaceNode<K,V>> |
TransactionWorkspace.getNodesAfter(Fqn fqn)
Deprecated.
Returns all nodes equal to or after the given node.
|
Modifier and Type | Method and Description |
---|---|
NodeSPI<K,V> |
WorkspaceNodeImpl.addChildDirect(Fqn f)
Deprecated.
|
protected UnversionedNode<K,V> |
OptimisticNodeFactory.createInternalNode(Object childName,
Fqn fqn,
NodeSPI<K,V> parent,
Map<K,V> data)
Deprecated.
|
NodeSPI<K,V> |
WorkspaceNodeImpl.getChildDirect(Fqn f)
Deprecated.
|
NodeSPI<K,V> |
WorkspaceNode.getChildDirect(Fqn f)
Deprecated.
|
WorkspaceNode<K,V> |
TransactionWorkspaceImpl.getNode(Fqn fqn)
Deprecated.
|
WorkspaceNode<K,V> |
TransactionWorkspace.getNode(Fqn fqn)
Deprecated.
|
SortedMap<Fqn,WorkspaceNode<K,V>> |
TransactionWorkspaceImpl.getNodesAfter(Fqn fqn)
Deprecated.
|
SortedMap<Fqn,WorkspaceNode<K,V>> |
TransactionWorkspace.getNodesAfter(Fqn fqn)
Deprecated.
Returns all nodes equal to or after the given node.
|
boolean |
WorkspaceNodeImpl.hasChild(Fqn f)
Deprecated.
|
boolean |
TransactionWorkspaceImpl.hasNode(Fqn fqn)
Deprecated.
|
boolean |
TransactionWorkspace.hasNode(Fqn fqn)
Deprecated.
returns true if the workspace contains a node with specified Fqn
|
boolean |
WorkspaceNodeImpl.removeChild(Fqn f)
Deprecated.
|
WorkspaceNode<K,V> |
TransactionWorkspaceImpl.removeNode(Fqn fqn)
Deprecated.
|
WorkspaceNode<K,V> |
TransactionWorkspace.removeNode(Fqn fqn)
Deprecated.
Is thread safe so you dont need to deal with synchronising access to this method.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionWorkspaceImpl.setNodes(Map<Fqn,WorkspaceNode<K,V>> nodes)
Deprecated.
Sets the nodes.
|
void |
TransactionWorkspace.setNodes(Map<Fqn,WorkspaceNode<K,V>> nodes)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
StateTransferManager.getState(ObjectOutputStream out,
Fqn fqn,
long timeout,
boolean force,
boolean suppressErrors)
Writes the state for the portion of the tree named by
fqn to
the provided OutputStream. |
void |
LegacyStateTransferManager.getState(ObjectOutputStream out,
Fqn fqn,
long timeout,
boolean force,
boolean suppressErrors)
Deprecated.
|
void |
DefaultStateTransferManager.getState(ObjectOutputStream out,
Fqn fqn,
long timeout,
boolean force,
boolean suppressErrors) |
protected void |
DefaultStateTransferIntegrator.integratePersistentState(ObjectInputStream in,
Fqn targetFqn) |
protected void |
LegacyStateTransferIntegrator.integratePersistentState(ObjectInputStream in,
Fqn targetFqn)
Deprecated.
|
void |
DefaultStateTransferIntegrator.integrateState(ObjectInputStream ois,
Object target,
Fqn targetRoot,
boolean integratePersistentState) |
void |
StateTransferIntegrator.integrateState(ObjectInputStream ois,
Object target,
Fqn targetFqn,
boolean integratePersistentState) |
void |
LegacyStateTransferIntegrator.integrateState(ObjectInputStream ois,
Object target,
Fqn targetFqn,
boolean integratePersistentState)
Deprecated.
|
void |
StateTransferManager.setState(ObjectInputStream in,
Fqn targetRoot)
Set the portion of the cache rooted in
targetRoot
to match the given state. |
void |
DefaultStateTransferManager.setState(ObjectInputStream in,
Fqn targetRoot) |
Modifier and Type | Method and Description |
---|---|
List<Fqn> |
TransactionContext.getDummyNodesCreatedByCacheLoader() |
List<Fqn> |
AbstractTransactionContext.getDummyNodesCreatedByCacheLoader() |
Map<Fqn,NodeSPI> |
MVCCTransactionContext.getLookedUpNodes()
Retrieves a map of nodes looked up within the current invocation's scope.
|
List<Fqn> |
TransactionContext.getRemovedNodes()
Gets the list of removed nodes.
|
List<Fqn> |
AbstractTransactionContext.getRemovedNodes() |
Modifier and Type | Method and Description |
---|---|
void |
TransactionContext.addDummyNodeCreatedByCacheLoader(Fqn fqn)
Adds an Fqn to the list of uninitialized nodes created by the cache loader.
|
void |
AbstractTransactionContext.addDummyNodeCreatedByCacheLoader(Fqn fqn) |
void |
TransactionContext.addRemovedNode(Fqn fqn)
Adds the node that has been removed in the scope of the current transaction.
|
void |
AbstractTransactionContext.addRemovedNode(Fqn fqn) |
NodeSPI |
MVCCTransactionContext.lookUpNode(Fqn fqn)
Retrieves a node from the registry of looked up nodes in the current scope.
|
void |
MVCCTransactionContext.putLookedUpNode(Fqn f,
NodeSPI n)
Puts an entry in the registry of looked up nodes in the current scope.
|
Modifier and Type | Method and Description |
---|---|
void |
MVCCTransactionContext.putLookedUpNodes(Map<Fqn,NodeSPI> lookedUpNodes) |
Modifier and Type | Method and Description |
---|---|
protected Fqn |
Caches.HashKeySelector.childName(int segment)
Returns the node name for this segment.
|
Fqn |
Caches.ChildSelector.childName(T key)
Returns a child node name for a key.
|
Fqn |
Caches.HashKeySelector.childName(T key)
Returns the node name for this key.
|
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.