|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
CacheLoader
.DataCommand
s.UnversionedNode
.DataCommand
which handles common behaviourNodeLock.acquire(Object, long, LockType)
except that you can
optionally specify that internal Fqns - such as buddy backup subtrees - can be excluded when acquiring locks.
timeout
milliseconds.
timeout
milliseconds.
timeout
milliseconds.
timeout
milliseconds.
Fqn
that represents this region already exists and
either contains data or children, no state transfers take place.
RegionManager.activate(Fqn)
except
that if the fqn is currently already in use (probably already been activated) this method is a no-op.
CacheListener
-annotated object to the entire cache.
Fqn
under the current node.
NodeSPI.addChildDirect(Fqn)
except that it optionally allows you to suppress notification events for
the creation of this node.
NodeSPI.addChildDirect(Fqn, boolean)
except that it just takes a child name
ComponentRegistry.Component.injectionMethods
.
ReplicationInterceptor
and OptimisticReplicationInterceptor
.BatchModeTransactionManager
.CacheLoader
based on Berkeley DB Java Edition.BuddyGroupChanged
.BuddyManager
select buddies for its buddy group.NodeData
objects for a specified node and all its children.
Node
s.CacheBlocked
.Cache
or Node
fail unexpectedly.JMX management interface
Cache
.CacheLoader
implementation persists and load keys to and from
secondary storage, such as a database or filesystem.CacheManager
.XmlParsingConfigurationRegistry
.
CacheMarshaller200
, created to fix JBCACHE-1211.Cache
to a string.Cache
, which is used when writing plugins for or extending JBoss Cache.CacheStarted
.CacheStopped
.CacheUnblocked
.true
Cache.clearData(String)
}Node.clearData()
except that it operates directly on the node and bypasses the
interceptor chain.
ClusteredCacheLoader
.ReplicableCommand
s.Visitor
interface
allowing it to intercept invocations on VisitableCommand
s.FqnComparator
.
ConcurrentHashMap
to deal with the fact that the
JDK does not have a proper concurrent Set implementation that uses efficient lock striping.cache-config
element that specifies
the name of the configuration.
Configuration
s.false
CacheStatus.CREATED
when it is done.
Cache
instance using default configuration settings.
Cache
instance using default configuration settings.
Cache
instance.
Cache
instance, and optionally starts it.
Cache
instance based on a Configuration
passed in.
Cache
instance, and optionally starts it, based on a Configuration
passed in.
Cache
instance based on an InputStream
passed in, which should be a stream to a valid
XML configuration file.
Cache
instance based on an InputStream
passed in, which should be a stream to a valid
XML configuration file.
CacheFactory
to create a cache.
Node
instance.
"_default_"
region using the
default eviction policy class
.
Version.getVersionShort()
.
CacheFactory
interface.long
to
compare versions.NodeModifiedEvent.getData()
before and after modification.
DummyTransactionManager
.Configuration
as being modifiable even after the cache has started.ElementSizePolicy
.Node
from memory.
Node
from memory.
Cache.evict(org.jboss.cache.Fqn)
EvictionPolicyConfig
.Fqn
.
ExpirationAlgorithm
as the policy's algorithm.FIFOPolicy
.Node
or sometimes a Region
in a Cache
.Fqn.ROOT
instead. This constructor will be removed in 3.0.0.
Fqn.fromList(java.util.List)
instead. This constructor will be removed in 3.0.0.
Fqn.fromList(java.util.List)
instead. The boolean "safety" hint is calculated internally. This constructor will be removed in 3.0.0.
Fqn.fromElements(Object[])
instead. This constructor will be removed in 3.0.0.
Fqn.fromRelativeFqn(Fqn, Fqn)
instead. This constructor will be removed in 3.0.0.
Fqn.fromRelativeList(Fqn, java.util.List)
instead. This constructor will be removed in 3.0.0.
Fqn.fromRelativeElements(Fqn, Object[])
instead. This constructor will be removed in 3.0.0.
Fqn.writeExternal(java.io.ObjectOutput)
.
Fqn.SEPARATOR
) characters.Node
.
Fqn
Cache
List
of objects annotated as CacheListener
s attached to the cache.
LegacyConfiguration.getCacheLoaderConfig()
ChannelFactory
that will be injected
into any Configuration
that has a
multiplexer stack
configured.
Node.getChild(Object)
to return a NodeSPI
rather than a Node
Node.getChild(Fqn)
to return a NodeSPI
rather than a Node
Node.getChildren()
except that it operates directly on the node and bypasses the
interceptor chain.
Node.getChildrenNames()
This is the equivalent of the old MethodCallDefinitions.getChildrenNamesMethodLocal method call from 2.1.x.Node.getChildrenNames()
except that it operates directly on the node and bypasses the
interceptor chain.
ClassLoader
for this region.
clone
of the Configuration
registered under the given name.
Node
.
Node
before modification.
Node.getData()
except that it operates directly on the node and bypasses the
interceptor chain.
Cache.getData(org.jboss.cache.Fqn)
This is the equivalent of the old MethodCallDefinitions.getDataMapMethodLocal method call from 2.1.x.URL
to a default JGroups configuration file.
Node.get(Object)
except that it operates directly on the node and bypasses the
interceptor chain.
NullEvictionAlgorithm.INSTANCE
.
NullEvictionPolicyConfig
.
EvictionPolicy
implementation
this object will configure.
NullEvictionPolicy
.
NullEvictionQueue.INSTANCE
.
EvictionRegionConfig
coresponding to given region fqn, or null
if no
match is found.
activateRegion
call should
include in-memory state.
null
null
.
Fqn
which represents the location of this Node
in the cache structure.
Fqn
of this region.
Configuration
or RuntimeConfig
.
LegacyConfiguration.getStateRetrievalTimeout()
NodeSPI.getDataDirect()
, except that this method may also encode some internal data as attributes in the map,
using special _JBOSS_INTERNAL_XXX Strings as keys.
Set
containing the data in this Node
.
Cache.getKeys(org.jboss.cache.Fqn)
This is the equivalent of the old MethodCallDefinitions.getKeysMethodLocal method call from 2.1.x.Node.getKeys()
except that it operates directly on the node and bypasses the
interceptor chain.
Cache.get(String, Object)
This is the equivalent of the old MethodCallDefinitions.getKeyValueMethodLocal method call from 2.1.x.Fqn.SEPARATOR
.
null
if running in local mode.
null
if running in local mode.
LockManager
to lock and unlock nodes.
Marshaller
, which is capable of
converting Java objects to bytestreams and back in an efficient manner, which is
also interoperable with bytestreams produced/consumed by other versions of JBoss
Cache.
null
if running in local mode.
null
if running in local mode.
Cache.getNode(String)
to return a NodeSPI
instead of a Node
.
Cache.getNode(Fqn)
to return a NodeSPI
instead of a Node
.
null
.
NodeSPI
instance.
Cache.getNode(org.jboss.cache.Fqn)
This is the equivalent of the old MethodCallDefinitions.getNodeMethodLocal method call from 2.1.x.null
null
0
0
DefaultFactoryFor
annotation that is capable of creating the component class).
NodeSPI
, instead
of Node
from Node.getParent()
, and is otherwise identical.
Region
for a given Fqn
.
Fqn
, creating it optionally if absent.
RegionManager.getRegion(Fqn,boolean)
that takes an additional Region.Type
parameter to force regions of a specific type.
RegionManager.getRegion(Fqn,boolean)
Region.activate()
.
Cache.getRoot()
to return a NodeSPI
instead of a Node
.
cache status
in terms of the JBoss AS ServiceMBean values.
fqn
to
the provided OutputStream.
TransactionManager
, if one is configured.
LegacyConfiguration.getExposeManagementStatistics()
Region
after taking into account that this may be a Buddy Backup Fqn.
DataGravitatorInterceptor
.Fqn
passed in exists.
RpcDispatcher
and adds the possibility that the marshaller may throw InactiveRegionException
s.RpcDispatcher
constructor that we care about.
AbstractMarshaller
instance when attempting to perform an operation on an inactive region.Cache.addCacheListener(Object)
API.BuddyLocator
.
CommandInterceptor
instead, since it provides strongly typed callbacks which are more efficient.InvocationContextInterceptor
InterceptorChain.invoke(org.jboss.cache.InvocationContext, org.jboss.cache.commands.VisitableCommand)
, but
constructs a invocation context on the fly, using ThreadLocal.get()
and setting the origin local flag to it's default value.
AccessibleObject.setAccessible(boolean)
InterceptorChain.invoke(org.jboss.cache.InvocationContext, org.jboss.cache.commands.VisitableCommand)
, but
constructs a invocation context on the fly, using ThreadLocal.get()
RpcDispatcher.callRemoteMethods(java.util.Vector, org.jgroups.blocks.MethodCall, int, long, boolean, boolean, org.jgroups.blocks.RspFilter)
except that this version
is aware of ReplicableCommand
objects.
false
DefaultDataVersion
rather than a custom DataVersion
passed in using Option.setDataVersion(DataVersion)
)
Iterator
whose
hasNext()
returns false
.
TransactionManager
instance from "java:/TransactionManager".JDBCCacheLoader
.CacheLoader
based on the JDBM project.LFUPolicy
.null
(i.e.
LockManager.lock(org.jboss.cache.Fqn, LockType, Object)
except that a NodeSPI is passed in instead of an Fqn.
LockManager.lock(org.jboss.cache.Fqn, LockType, Object, long)
except that a NodeSPI is passed in instead of an Fqn.
LRUPolicy
.NodeSPI.markAsDeleted(boolean)
except that the option to recurse into children is provided.
WorkspaceNode.markAsDeleted(boolean)
except that the option to recurse into children is provided.
Node
as currently in use, by adding an event to the eviction queue.
MarshalledValueInterceptor
and the MarshalledValueMap
.MarshalledValue
s.ReplicableCommand
instances. Will be removed in 3.X.Cache.move(org.jboss.cache.Fqn, org.jboss.cache.Fqn)
MRUPolicy
.other
.
named
logical grouping of data in the JBoss Cache
.NodeActivated
.NodeCreated
.EvictedEventNode
.NodeEvicted
.CacheSPI
configuration.CacheLoader
.NodeLoaded
.NodeModified
Cache.move(org.jboss.cache.Fqn,org.jboss.cache.Fqn)
API.NodeMoved
.NodePassivated
.NodeRemoved
.Node
, which is used when writing plugins for or extending JBoss Cache.NodeVisited
.ComponentRegistry
,
that are resilient to changes in configuration.NullEvictionPolicy
.NullEvictionPolicy
.MarshalledValueInputStream
.
MarshalledValueInputStream
.
ObjectInputStream
InputStream
MarshalledValueOutputStream
.
ObjectOutputStream
Marshaller.objectToObjectStream(Object,java.io.ObjectOutputStream)
which adds a hint to the Fqn
region
NodeSPI
instances in the main data structure and then copy it into the
TransactionWorkspace
as WorkspaceNode
s as needed.InvalidateCommand
.CallInterceptor
.PrepareCommand
.TransactionEntry
class to add a TransactionWorkspace
.TxInterceptor
.TransactionWorkspace
against data in the underlying data structure
(versions only) and then applies changes to the underlying data structure.Node.isValid()
== false).
peekVersioned(Fqn, org.jboss.cache.optimistic.DataVersion)
except that it throws a NodeNotExistsException
if the node cannot be found.
Node
referenced by the specified Fqn.
DataCommand
on a remote cache and returns results.
CacheJmxWrapper.getRegisterInterceptors()
is
true
.
PostProcessingCommandInterceptor.doAfterCall(org.jboss.cache.InvocationContext,org.jboss.cache.commands.VisitableCommand)
after invoking each visit method
(and the CommandInterceptor.handleDefault(org.jboss.cache.InvocationContext, org.jboss.cache.commands.VisitableCommand)
method) in
a finally block.CacheJmxWrapper.getRegisterInterceptors()
is true
.
server
and objName
.
#processAddedNodes(EvictedEventNode, int, boolean)
using values in the
evictedEventNode for number of added elements and the resetElementCount flag.
Node
in this cache.
Node
.
Node.putAll(Map)
except that it operates directly on the node and bypasses the
interceptor chain.
Cache.put(String, java.util.Map)
.Node.put(Object,Object)
except that it operates directly on the node and bypasses the
interceptor chain.
Cache.putForExternalRead(org.jboss.cache.Fqn, Object, Object)
method call.Cache.put(org.jboss.cache.Fqn, Object, Object)
.EvictedEventNode
to the internal queue for processing
by the eviction thread.
XmlHelper.readStringContents(org.w3c.dom.Element,String)
except that it returns a boolean.
XmlHelper.readStringContents(org.w3c.dom.Element,String)
except that it returns a boolean.
ImmutableListCopy.writeExternal(java.io.ObjectOutput)
for serialization format
ImmutableSetCopy.writeExternal(java.io.ObjectOutput)
for serialization format
Node
s belonging to a Region in a Cache
.Marshaller.regionalizedMethodCallFromByteBuffer(byte[])
or
Marshaller.regionalizedMethodCallFromObjectStream(java.io.ObjectInputStream)
is called.Region
Region
s for a Cache instance.RegionManager.activate(Fqn)
activate a subtree}
root in Fqn that already has an existing node in the cache.ClassLoader
for this region,
overridding the default cache class loader.
Synchronization
callback with this transaction.
CacheListener
-annotated object from the cache.
Fqn
.
Cache.remove(org.jboss.cache.Fqn, Object)
Node
indicated by absolute Fqn
.
Cache.removeNode(org.jboss.cache.Fqn)
Region
identified by the given fqn.
Node.putAll(java.util.Map)
except that it removes any entries that exists in
the data map first.
RuntimeConfig
after creating it.Semaphore
implementation.CacheSPI
that is maintaining this CacheLoader.
injection of the CacheSPI
via
a CacheJmxWrapperMBean
.
LegacyConfiguration.setCacheLoaderConfig(org.w3c.dom.Element)
ClassLoader
registered for the
given Fqn
, and if found sets it as the TCCL.
DataVersion
instance when using optimistic locking will override the default behaviour of internally generated version info and allow the caller to handle data versioning.
Region
s is by default inactive.
policy class name
for the subclass.
RPCManager
has inbuilt logic when it comes to selecting a group request mode.
Region.activate()
is
called to activate one or more parts of the tree.
LegacyConfiguration.setStateRetrievalTimeout(long)
NodeSPI.putAllDirect(java.util.Map)
except that this method first scans the map for any internal attributes
using special _JBOSS_INTERNAL_XXX Strings as keys, and uses these to set internal attributes before passing
the remaining attributes to NodeSPI.putAllDirect(java.util.Map)
.
InvocationContext
as current.
false
ReplicableCommand
instance passed in along with an InvocationContext.
CommandsFactory
to create a command from raw data read off a stream.
RegionManager
this object should use to manage
marshalling/unmarshalling of different regions using different
classloaders.
CacheJmxWrapperMBean.create()
.
Region.activate()
.
targetRoot
to match the given state.
LegacyConfiguration.getStateRetrievalTimeout()
)
Configuration.getSyncReplTimeout()
(used when cache mode is either Configuration.CacheMode.REPL_SYNC
or Configuration.CacheMode.INVALIDATION_SYNC
) for this specific invocation.
DummyBaseTransactionManager.begin()
method.
DummyBaseTransactionManager.begin()
method.
DummyUserTransaction.begin()
method.
LegacyConfiguration.setExposeManagementStatistics(boolean)
DefaultDataVersion
rather than a custom DataVersion
passed in using Option.setDataVersion(DataVersion)
)
SkipCheckChainedInterceptor.skipInterception(org.jboss.cache.InvocationContext,org.jboss.cache.commands.VisitableCommand)
before invoking each visit method
(and the SkipCheckChainedInterceptor.handleDefault(org.jboss.cache.InvocationContext, org.jboss.cache.commands.VisitableCommand)
method).StateTransferGenerator
and
StateTransferIntegrator
instances.CacheStatus.STOPPED
once it is done.
Element
.
CacheLoader
implemtations thread safe.StripedLock.StripedLock(int)
with a default concurrency value of 20.
EvictedEventNode
added to the event queue by
Region.putNodeEvent(EvictedEventNode)
.
TcpCacheServer
.Fqn.SEPARATOR
and
joining each subsequent element with a Fqn.SEPARATOR
.
TransactionCompleted
.GlobalTransaction
about the transaction state.Cache
to use different transactional systems.Synchronization
with a registered TransactionManager
.TransactionRegistered
.ClassLoader
s for this region.
msecs
timeout.
CacheMarshaller200
.DataCommand
, except that these are versioned and reversible too.UnversionedNode
by adding a DataVersion
property.ViewChanged
.Visitor
s, such as CommandInterceptor
s.VisitableCommand
can be visited by a Visitor implementation.Inject
annotation, creating more components
as needed based on the Configuration passed in if these additional components don't exist in the
ComponentRegistry
.
Node
that is to be copied into a TransactionWorkspace
for optimistically locked
nodes.Node
and adds versioning and other meta data to it.Configuration
object.ConfigurationRegistry
that obtains its initial set of configurations
by parsing an XML document.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |