Package | Description |
---|---|
org.infinispan |
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
|
org.infinispan.config |
Cache configuration beans and parsers.
|
org.infinispan.configuration.cache |
Classes related to eviction.
|
org.infinispan.interceptors |
Infinispan is designed around a set of interceptors around a data container.
|
org.infinispan.interceptors.base |
Base interceptors containing common, reusable behavior.
|
org.infinispan.interceptors.locking |
Modifier and Type | Method and Description |
---|---|
List<CommandInterceptor> |
CacheImpl.getInterceptorChain() |
List<CommandInterceptor> |
AdvancedCache.getInterceptorChain()
Retrieves the current Interceptor chain.
|
List<CommandInterceptor> |
AbstractDelegatingCacheImpl.getInterceptorChain() |
List<CommandInterceptor> |
AbstractDelegatingAdvancedCache.getInterceptorChain() |
Modifier and Type | Method and Description |
---|---|
void |
CacheImpl.addInterceptor(CommandInterceptor i,
int position) |
void |
AdvancedCache.addInterceptor(CommandInterceptor i,
int position)
Adds a custom interceptor to the interceptor chain, at specified position, where the first interceptor in the
chain is at position 0 and the last one at NUM_INTERCEPTORS - 1.
|
void |
AbstractDelegatingCacheImpl.addInterceptor(CommandInterceptor i,
int position) |
void |
AbstractDelegatingAdvancedCache.addInterceptor(CommandInterceptor i,
int position) |
boolean |
CacheImpl.addInterceptorAfter(CommandInterceptor i,
Class<? extends CommandInterceptor> afterInterceptor) |
boolean |
AdvancedCache.addInterceptorAfter(CommandInterceptor i,
Class<? extends CommandInterceptor> afterInterceptor)
Adds a custom interceptor to the interceptor chain, after an instance of the specified interceptor type.
|
boolean |
AbstractDelegatingCacheImpl.addInterceptorAfter(CommandInterceptor i,
Class<? extends CommandInterceptor> afterInterceptor) |
boolean |
AbstractDelegatingAdvancedCache.addInterceptorAfter(CommandInterceptor i,
Class<? extends CommandInterceptor> afterInterceptor) |
boolean |
CacheImpl.addInterceptorBefore(CommandInterceptor i,
Class<? extends CommandInterceptor> beforeInterceptor) |
boolean |
AdvancedCache.addInterceptorBefore(CommandInterceptor i,
Class<? extends CommandInterceptor> beforeInterceptor)
Adds a custom interceptor to the interceptor chain, before an instance of the specified interceptor type.
|
boolean |
AbstractDelegatingCacheImpl.addInterceptorBefore(CommandInterceptor i,
Class<? extends CommandInterceptor> beforeInterceptor) |
boolean |
AbstractDelegatingAdvancedCache.addInterceptorBefore(CommandInterceptor i,
Class<? extends CommandInterceptor> beforeInterceptor) |
Modifier and Type | Method and Description |
---|---|
boolean |
CacheImpl.addInterceptorAfter(CommandInterceptor i,
Class<? extends CommandInterceptor> afterInterceptor) |
boolean |
AdvancedCache.addInterceptorAfter(CommandInterceptor i,
Class<? extends CommandInterceptor> afterInterceptor)
Adds a custom interceptor to the interceptor chain, after an instance of the specified interceptor type.
|
boolean |
AbstractDelegatingCacheImpl.addInterceptorAfter(CommandInterceptor i,
Class<? extends CommandInterceptor> afterInterceptor) |
boolean |
AbstractDelegatingAdvancedCache.addInterceptorAfter(CommandInterceptor i,
Class<? extends CommandInterceptor> afterInterceptor) |
boolean |
CacheImpl.addInterceptorBefore(CommandInterceptor i,
Class<? extends CommandInterceptor> beforeInterceptor) |
boolean |
AdvancedCache.addInterceptorBefore(CommandInterceptor i,
Class<? extends CommandInterceptor> beforeInterceptor)
Adds a custom interceptor to the interceptor chain, before an instance of the specified interceptor type.
|
boolean |
AbstractDelegatingCacheImpl.addInterceptorBefore(CommandInterceptor i,
Class<? extends CommandInterceptor> beforeInterceptor) |
boolean |
AbstractDelegatingAdvancedCache.addInterceptorBefore(CommandInterceptor i,
Class<? extends CommandInterceptor> beforeInterceptor) |
void |
CacheImpl.removeInterceptor(Class<? extends CommandInterceptor> interceptorType) |
void |
AdvancedCache.removeInterceptor(Class<? extends CommandInterceptor> interceptorType)
Removes the interceptor of specified type.
|
void |
AbstractDelegatingCacheImpl.removeInterceptor(Class<? extends CommandInterceptor> interceptorType) |
void |
AbstractDelegatingAdvancedCache.removeInterceptor(Class<? extends CommandInterceptor> interceptorType) |
Modifier and Type | Field and Description |
---|---|
protected CommandInterceptor |
CustomInterceptorConfig.interceptor |
Modifier and Type | Method and Description |
---|---|
CommandInterceptor |
CustomInterceptorConfig.getInterceptor()
Returns a the interceptor that we want to add to the chain.
|
Modifier and Type | Method and Description |
---|---|
FluentConfiguration.CustomInterceptorPosition |
FluentConfiguration.CustomInterceptorCumulator.add(CommandInterceptor interceptor)
Deprecated.
|
FluentConfiguration.CustomInterceptorPosition |
Configuration.CustomInterceptorsType.add(CommandInterceptor interceptor)
Deprecated.
|
void |
CustomInterceptorConfig.setInterceptor(CommandInterceptor interceptor)
Returns a the interceptor that we want to add to the chain.
|
Modifier and Type | Method and Description |
---|---|
FluentConfiguration.CustomInterceptorsConfig |
FluentConfiguration.CustomInterceptorPosition.after(Class<? extends CommandInterceptor> interceptorClass)
Deprecated.
|
FluentConfiguration.CustomInterceptorsConfig |
Configuration.CustomInterceptorPositionType.after(Class<? extends CommandInterceptor> interceptorClass)
Deprecated.
|
FluentConfiguration.CustomInterceptorsConfig |
FluentConfiguration.CustomInterceptorPosition.before(Class<? extends CommandInterceptor> interceptorClass)
Deprecated.
|
FluentConfiguration.CustomInterceptorsConfig |
Configuration.CustomInterceptorPositionType.before(Class<? extends CommandInterceptor> interceptorClass)
Deprecated.
|
void |
CustomInterceptorConfig.setAfterInterceptor(Class<? extends CommandInterceptor> interceptorClass)
Places the new interceptor directly after the instance of the named interceptor which is
specified via its fully qualified class name.
|
void |
CustomInterceptorConfig.setBeforeInterceptor(Class<? extends CommandInterceptor> interceptorClass)
Places the new interceptor directly before the instance of the named interceptor which is
specified via its fully qualified class name..
|
Constructor and Description |
---|
Configuration.CustomInterceptorPositionType(CommandInterceptor interceptor,
Configuration.CustomInterceptorsType type)
Deprecated.
|
CustomInterceptorConfig(CommandInterceptor interceptor)
Constructs an interceptor config based on the supplied interceptor instance.
|
CustomInterceptorConfig(CommandInterceptor interceptor,
boolean first,
boolean last,
int index,
String after,
String before)
Builds a custom interceptor configuration.
|
Modifier and Type | Method and Description |
---|---|
CommandInterceptor |
InterceptorConfiguration.interceptor() |
Modifier and Type | Method and Description |
---|---|
Class<? extends CommandInterceptor> |
InterceptorConfiguration.after() |
Class<? extends CommandInterceptor> |
InterceptorConfiguration.before() |
Modifier and Type | Method and Description |
---|---|
InterceptorConfigurationBuilder |
InterceptorConfigurationBuilder.interceptor(CommandInterceptor interceptor)
An instance of the new custom interceptor to add to the configuration.
|
Modifier and Type | Method and Description |
---|---|
InterceptorConfigurationBuilder |
InterceptorConfigurationBuilder.after(Class<? extends CommandInterceptor> after)
Dictates that the custom interceptor appears immediately after the specified interceptor.
|
InterceptorConfigurationBuilder |
InterceptorConfigurationBuilder.before(Class<? extends CommandInterceptor> before)
Dictates that the custom interceptor appears immediately before the specified interceptor.
|
Modifier and Type | Class and Description |
---|---|
class |
ActivationInterceptor |
class |
BatchingInterceptor
Interceptor that captures batched calls and attaches contexts.
|
class |
CacheLoaderInterceptor |
class |
CacheMgmtInterceptor
Captures cache management statistics
|
class |
CacheStoreInterceptor
Writes modifications back to the store on the way out: stores modifications back through the CacheLoader, either
after each method call (no TXs), or at TX commit.
|
class |
CallInterceptor
Always at the end of the chain, directly in front of the cache.
|
class |
ClusteredActivationInterceptor
The same as a regular cache loader interceptor, except that it contains additional logic to force loading from the
cache loader if needed on a remote node, in certain conditions.
|
class |
ClusteredCacheLoaderInterceptor
The same as a regular cache loader interceptor, except that it contains additional logic to force loading from the
cache loader if needed on a remote node, in certain conditions.
|
class |
DeadlockDetectingInterceptor
This interceptor populates the
DldGlobalTransaction with
appropriate information needed in order to accomplish deadlock detection. |
class |
DistCacheStoreInterceptor
Cache store interceptor specific for the distribution cache mode.
|
class |
DistributionInterceptor
The interceptor that handles distribution of entries across a cluster, as well as transparent lookup
|
class |
EntryWrappingInterceptor
Interceptor in charge with wrapping entries and add them in caller's context.
|
class |
InvalidationInterceptor
This interceptor acts as a replacement to the replication interceptor when the CacheImpl is configured with
ClusteredSyncMode as INVALIDATE.
|
class |
InvocationContextInterceptor |
class |
IsMarshallableInterceptor
Interceptor to verify whether parameters passed into cache are marshallables
or not.
|
class |
MarshalledValueInterceptor
Interceptor that handles the wrapping and unwrapping of cached data using
MarshalledValue s. |
class |
NotificationInterceptor
The interceptor in charge of firing off notifications to cache listeners
|
class |
PassivationInterceptor
Writes evicted entries back to the store on the way in through the CacheStore
|
class |
ReplicationInterceptor
Takes care of replicating modifications to other caches in a cluster.
|
class |
StateTransferLockInterceptor
An interceptor that blocks any commands when the
StateTransferLock is locked. |
class |
TxInterceptor
Interceptor in charge with handling transaction related operations, e.g enlisting cache as an transaction
participant, propagating remotely initiated changes.
|
class |
VersionedDistributionInterceptor
A version of the
DistributionInterceptor that adds logic to handling prepares when entries are versioned. |
class |
VersionedEntryWrappingInterceptor
Interceptor in charge with wrapping entries and add them in caller's context.
|
class |
VersionedReplicationInterceptor
A form of the
ReplicationInterceptor that adds additional logic to how prepares are handled. |
Modifier and Type | Method and Description |
---|---|
CommandInterceptor |
InterceptorChain.getFirstInChain() |
Modifier and Type | Method and Description |
---|---|
List<CommandInterceptor> |
InterceptorChain.asList()
Returns an unmofiable list with all the interceptors in sequence.
|
List<CommandInterceptor> |
InterceptorChain.getInterceptorsWhichExtend(Class<? extends CommandInterceptor> interceptorClass)
Returns all interceptors which extend the given command interceptor.
|
List<CommandInterceptor> |
InterceptorChain.getInterceptorsWithClassName(String name)
Returns all the interceptors that have the fully qualified name of their class equal with the supplied class
name.
|
Modifier and Type | Method and Description |
---|---|
void |
InterceptorChain.addInterceptor(CommandInterceptor interceptor,
int position)
Inserts the given interceptor at the specified position in the chain (o based indexing).
|
boolean |
InterceptorChain.addInterceptorAfter(CommandInterceptor toAdd,
Class<? extends CommandInterceptor> afterInterceptor)
Adds a new interceptor in list after an interceptor of a given type.
|
boolean |
InterceptorChain.addInterceptorBefore(CommandInterceptor toAdd,
Class<? extends CommandInterceptor> beforeInterceptor)
Adds a new interceptor in list after an interceptor of a given type.
|
void |
InterceptorChain.appendInterceptor(CommandInterceptor ci,
boolean isCustom)
Appends at the end.
|
boolean |
InterceptorChain.containsInstance(CommandInterceptor interceptor)
Checks whether the chain contains the supplied interceptor instance.
|
boolean |
InterceptorChain.replaceInterceptor(CommandInterceptor replacingInterceptor,
Class<? extends CommandInterceptor> toBeReplacedInterceptorType)
Replaces an existing interceptor of the given type in the interceptor chain with a new interceptor instance passed as parameter.
|
void |
InterceptorChain.setFirstInChain(CommandInterceptor interceptor)
Mainly used by unit tests to replace the interceptor chain with the starting point passed in.
|
Modifier and Type | Method and Description |
---|---|
boolean |
InterceptorChain.addInterceptorAfter(CommandInterceptor toAdd,
Class<? extends CommandInterceptor> afterInterceptor)
Adds a new interceptor in list after an interceptor of a given type.
|
boolean |
InterceptorChain.addInterceptorBefore(CommandInterceptor toAdd,
Class<? extends CommandInterceptor> beforeInterceptor)
Adds a new interceptor in list after an interceptor of a given type.
|
boolean |
InterceptorChain.containsInterceptorType(Class<? extends CommandInterceptor> interceptorType) |
List<CommandInterceptor> |
InterceptorChain.getInterceptorsWhichExtend(Class<? extends CommandInterceptor> interceptorClass)
Returns all interceptors which extend the given command interceptor.
|
protected boolean |
InterceptorChain.isFirstInChain(Class<? extends CommandInterceptor> clazz) |
void |
InterceptorChain.removeInterceptor(Class<? extends CommandInterceptor> clazz)
Removes all the occurences of supplied interceptor type from the chain.
|
boolean |
InterceptorChain.replaceInterceptor(CommandInterceptor replacingInterceptor,
Class<? extends CommandInterceptor> toBeReplacedInterceptorType)
Replaces an existing interceptor of the given type in the interceptor chain with a new interceptor instance passed as parameter.
|
Constructor and Description |
---|
InterceptorChain(CommandInterceptor first)
Constructs an interceptor chain having the supplied interceptor as first.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseCustomInterceptor
Anyone using the
AdvancedCache.addInterceptor(CommandInterceptor, int) method (or any of its
overloaded forms) or registering custom interceptors via XML should extend this base class when creating their own
custom interceptors. |
class |
BaseRpcInterceptor
Acts as a base for all RPC calls
|
class |
JmxStatsCommandInterceptor
Base class for all the interceptors exposing management statistics.
|
class |
PrePostProcessingCommandInterceptor
This interceptor adds pre and post processing to each visitXXX() method.
|
Modifier and Type | Method and Description |
---|---|
CommandInterceptor |
CommandInterceptor.getNext()
Retrieves the next interceptor in the chain.
|
Modifier and Type | Method and Description |
---|---|
void |
CommandInterceptor.setNext(CommandInterceptor next)
Sets the next interceptor in the chain to the interceptor passed in.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLockingInterceptor
Base class for various locking interceptors in this package.
|
class |
AbstractTxLockingInterceptor
Base class for transaction based locking interceptors.
|
class |
NonTransactionalLockingInterceptor
Locking interceptor to be used for non-transactional caches.
|
class |
OptimisticLockingInterceptor
Locking interceptor to be used by optimistic transactional caches.
|
class |
PessimisticLockingInterceptor
Locking interceptor to be used by pessimistic caches.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.