|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
CacheLoader
.DataCommand
s.UnversionedNode
.CacheSPI
configuration.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(org.jboss.cache.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
.
Map
from the root node.
Map
, where map keys are named children of the given Node,
and values are kept under a single key for this node.
Map
, where map entries are partitioned into
children nodes, within a cache node.
Map
, where map entries are partitioned
into children, within a cache node, by key hash code.
Map
, where map entries are partitioned into child nodes,
within the cache root, by key hash code.
Map
, where map data is put and returned directly from a single Node.
Set
, where set entries are data entries of the given Node.
EvictionActionPolicy
ReplicationInterceptor
and OptimisticReplicationInterceptor
.Cache.startBatch()
and
Cache.endBatch(boolean)
calls.CacheLoader
based on Berkeley DB Java Edition.Executors
except that the factory methods here allow you to specify the
size of the blocking queue that backs the executor.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.JmxRegistrationManager
. This class will not be supported from 3.0 on.JmxRegistrationManager
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
classes, such as Node
.child node name
)
to use based on the characteristics of a key.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
InvocationContext
s and TransactionContext
s
for requests, based on the configuration used.ContextFactory
based on configuration used.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.
EvictionConfig.getDefaultEvictionRegionConfig()
instead.
ReadCommittedNode
or its subclass, a
RepeatableReadNode
based on cache configuration.
Version.getVersionShort()
.
CacheFactory
interface.Cache.evict(org.jboss.cache.Fqn)
to evict a node.NodeModifiedEvent.getData()
before and after modification.
DummyTransactionManager
.Configuration
as being modifiable even after the cache has started.ElementSizeAlgorithm
.ElementSizeAlgorithmConfig
Node
from memory.
Node
from memory.
Cache.evict(org.jboss.cache.Fqn)
EvictionEvent
instead.EvictionConfig.EvictionConfig(EvictionRegionConfig)
instead.
EvictionEvent.Type
instead.EvictionActionPolicy
instead.EvictionAlgorithmConfig
EvictionAlgorithmConfigBase
.EvictionRegionConfig.EvictionRegionConfig(org.jboss.cache.Fqn, EvictionAlgorithmConfig)
instead.
Fqn
.
ExpirationAlgorithmConfig
FIFOAlgorithm
.FIFOAlgorithmConfig
Node
or sometimes a Region
in a Cache
.Fqn.fromList(java.util.List)
instead. 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.fromRelativeElements(Fqn, Object[])
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.writeExternal(java.io.ObjectOutput)
.
Node
.
Fqn
RuntimeConfig.setAsyncCacheListenerExecutor(java.util.concurrent.ExecutorService)
.
RuntimeConfig.setAsyncSerializationExecutor(java.util.concurrent.ExecutorService)
.
Cache
List
of objects annotated as CacheListener
s attached to the cache.
LegacyConfiguration.getCacheLoaderConfig()
getCache(name, false)
.
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.
EvictionAlgorithmConfig
implementation
class corresponding to this EvictionAlgorithm.
CustomInterceptorConfig
, if any, associated with this configuration
object.
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.
EvictionConfig.getDefaultEvictionRegionConfig()
instead.
Node.get(Object)
except that it operates directly on the node and bypasses the
interceptor chain.
NullEvictionAlgorithm.INSTANCE
.
EvictionAlgorithm
implementation
this object will configure.
NullEvictionPolicyConfig
.
EvictionPolicy
implementation
this object will configure.
NullEvictionPolicy
.
EvictionRegionConfig.getEvictionAlgorithmConfig()
instead.
NullEvictionQueue.INSTANCE
.
EvictionRegionConfig
coresponding to given region fqn, or null
if no
match is found.
RuntimeConfig.setEvictionTimerThreadFactory(org.jgroups.util.ThreadFactory)
.
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
NodeFactory
instead.
NodeFactory
instead.
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(org.jboss.cache.Fqn,boolean)
that takes an additional Region.Type
parameter to force regions of a specific type.
RegionManager.getRegion(org.jboss.cache.Fqn,boolean)
CacheJmxWrapperMBean.create()
.
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.
EvictionConfig.getWakeupIntervalSeconds()
.
DataGravitatorInterceptor
.AssignToBuddyGroupCommand
thic command is received from a remote cache.
Fqn
passed in exists.
TransactionContext
.
InvocationContext.hasLock(Object)
()} instead,
which would delegate to this method if a transaction is in scope or otherwise use invocation-specific locks.
subtreeFqn
and evict all nodes in that subtree.
subtreeFqn
and evict all nodes in that subtree.
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.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 its 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.
Statement.addBatch(String)
approach for insertig data into the database.
Configuration.getNodeLockingScheme()
to determine node locking scheme used.
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.JdbmCacheLoader
implementation which is better
for storing data under a single node.JdbmCacheLoader2
.JmxRegistrationManager
LFUAlgorithm
.LFUAlgorithmConfig
null
(i.e. this class was loaded by the bootstrap classloader), the system classloader.
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.
FileLookup
.
LRUAlgorithm
.LRUAlgorithmConfig
NodeSPI.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)
MRUAlgorithm
.MRUAlgorithmConfig
InternalNode
s as ReadCommittedNode
or RepeatableReadNode
s.other
.
named
logical grouping of data in the JBoss Cache
.NodeActivated
.NodeCreated
.NodeEvicted
.CacheLoader
.NodeLoaded
.NodeModified
Cache.move(org.jboss.cache.Fqn,org.jboss.cache.Fqn)
API.NodeMoved
.NodePassivated
.InternalNode
.NodeRemoved
.Node
, which is used when writing plugins for or extending JBoss Cache.NodeVisited
.ComponentRegistry
,
that are resilient to changes in configuration.NullEvictionAlgorithm
.NullEvictionAlgorithmConfig
MarshalledValueInputStream
.
MarshalledValueInputStream
.
ObjectInputStream
InputStream
RpcDispatcher.Marshaller2.objectToBuffer(Object)
that returns an instance
of ByteBuffer
instead of Buffer
.
MarshalledValueOutputStream
.
ObjectOutputStream
Marshaller.objectToObjectStream(Object,java.io.ObjectOutputStream)
which adds a hint to the Fqn
region
PrepareCommand
.OwnableReentrantLock
s.XmlConfigurationParser.parseFile(String)
, just that it does not create the input stream.
Node.isValid()
== false).
DataContainer.peek(Fqn)
except that the underlying node is NOT wrapped as a NodeSPI
.
DataContainer.peekInternalNode(Fqn, boolean)
except that the node AND its *direct* parent are retrieved.
Node
referenced by the specified Fqn.
DataCommand
on a remote cache and returns results.
Configuration.getExposeManagementStatistics()
is true, then class will register
all the MBeans from the ConfigurationRegistry to the pltform MBean server.AdjListJDBCCacheLoaderConfig.getInsertNodeSql()
CacheJmxWrapper.getRegisterJmxResource()
is
true
.
CacheJmxWrapper.getRegisterJmxResource()
is true
.
server
and objName
.
BaseEvictionAlgorithm.processAddedNodes(EvictionEvent, int)
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)
.XmlConfigHelper.readStringContents(org.w3c.dom.Element,String)
except that it returns a boolean.
XmlConfigHelper.readStringContents(org.w3c.dom.Element,String)
except that it returns a boolean.
ImmutableListCopy.writeExternal(java.io.ObjectOutput)
for serialization format
ThreadGate
, that uses an AbstractQueuedSynchronizer
.Node
s belonging to a Region in a Cache
.Marshaller.regionalizedMethodCallFromByteBuffer(byte[])
or
Marshaller.regionalizedMethodCallFromObjectStream(java.io.ObjectInputStream)
is called.Region
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.
Region.processEvictionQueues()
.
Region.registerEvictionEvent(Fqn, org.jboss.cache.eviction.EvictionEvent.Type, int)
which
uses a default elementDifference value.
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)
Cache.removeNode(org.jboss.cache.Fqn)
to evict a node.Region
identified by the given fqn.
Node.putAll(java.util.Map)
except that it removes any entries that exists in
the data map first.
RootElementBuilder.JBOSSCACHE_CORE_NS
namespace
according to the configured schema.RuntimeConfig
after creating it.Caches.HashKeySelector.segments
- 1.
Semaphore
implementation.Configuration.setListenerAsyncPoolSize(int)
Configuration.setSerializationExecutorPoolSize(int)
CacheSPI
that is maintaining this CacheLoader.
LegacyConfiguration.setCacheLoaderConfig(org.w3c.dom.Element)
ClassLoader
registered for the
given Fqn
, and if found sets it as the TCCL.
EvictionConfig.setDefaultEvictionRegionConfig(EvictionRegionConfig)
instead.
Region
s is by default inactive.
policy class name
for the subclass.
EvictionRegionConfig.setEvictionAlgorithmConfig(EvictionAlgorithmConfig)
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.
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.
targetRoot
to match the given state.
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)
)
EvictionConfig.setWakeupInterval(long)
.
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.StateTransferManager
instances.CacheStatus.STOPPED
once it is done.
Element
.
Element
.
CacheLoader
implemtations thread safe.StripedLock.StripedLock(int)
with a default concurrency value of 20.
TcpCacheServer
.Fqn.SEPARATOR
and
joining each subsequent element with a Fqn.SEPARATOR
.
TransactionCompleted
.Cache
to use different transactional systems.Synchronization
with a registered TransactionManager
.TransactionRegistered
.JmxRegistrationManager.registerAllMBeans()
.
ClassLoader
s for this region.
msecs
timeout.
CacheMarshaller200
.DataCommand
, except that these are versioned and reversible too.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
.
MVCCNodeHelper.wrapNodesForReading(org.jboss.cache.InvocationContext, java.util.Collection)
except
that this version takes a single Fqn parameter to wrap a single node.
MVCCNodeHelper.wrapNodeForWriting(org.jboss.cache.InvocationContext, org.jboss.cache.Fqn, boolean, boolean, boolean, boolean, boolean)
except that it takes in an InternalNode
instead of a Fqn
.
GlobalTransaction
.Configuration
object.XmlConfigurationParser.XmlConfigurationParser(org.xml.sax.ErrorHandler)
.
ConfigurationRegistry
that obtains its initial set of configurations
by parsing an XML document.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |