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.distribution | |
org.infinispan.interceptors.locking | |
org.infinispan.interceptors.xsite | |
org.infinispan.query.backend | |
org.infinispan.statetransfer |
Transfer of state to new caches in a cluster.
|
Modifier and Type | Method and Description |
---|---|
List<CommandInterceptor> |
CacheImpl.getInterceptorChain() |
List<CommandInterceptor> |
AbstractDelegatingAdvancedCache.getInterceptorChain() |
List<CommandInterceptor> |
AdvancedCache.getInterceptorChain()
Retrieves the current Interceptor chain.
|
Modifier and Type | Method and Description |
---|---|
void |
CacheImpl.addInterceptor(CommandInterceptor i,
int position) |
void |
AbstractDelegatingAdvancedCache.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.
|
boolean |
CacheImpl.addInterceptorAfter(CommandInterceptor i,
Class<? extends CommandInterceptor> afterInterceptor) |
boolean |
AbstractDelegatingAdvancedCache.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 |
CacheImpl.addInterceptorBefore(CommandInterceptor i,
Class<? extends CommandInterceptor> beforeInterceptor) |
boolean |
AbstractDelegatingAdvancedCache.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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CacheImpl.addInterceptorAfter(CommandInterceptor i,
Class<? extends CommandInterceptor> afterInterceptor) |
boolean |
AbstractDelegatingAdvancedCache.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 |
CacheImpl.addInterceptorBefore(CommandInterceptor i,
Class<? extends CommandInterceptor> beforeInterceptor) |
boolean |
AbstractDelegatingAdvancedCache.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.
|
void |
CacheImpl.removeInterceptor(Class<? extends CommandInterceptor> interceptorType) |
void |
AbstractDelegatingAdvancedCache.removeInterceptor(Class<? extends CommandInterceptor> interceptorType) |
void |
AdvancedCache.removeInterceptor(Class<? extends CommandInterceptor> interceptorType)
Removes the interceptor of specified type.
|
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 |
Configuration.CustomInterceptorsType.add(CommandInterceptor interceptor)
Deprecated.
|
FluentConfiguration.CustomInterceptorPosition |
FluentConfiguration.CustomInterceptorCumulator.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 |
Configuration.CustomInterceptorPositionType.after(Class<? extends CommandInterceptor> interceptorClass)
Deprecated.
|
FluentConfiguration.CustomInterceptorsConfig |
FluentConfiguration.CustomInterceptorPosition.after(Class<? extends CommandInterceptor> interceptorClass)
Deprecated.
|
FluentConfiguration.CustomInterceptorsConfig |
Configuration.CustomInterceptorPositionType.before(Class<? extends CommandInterceptor> interceptorClass)
Deprecated.
|
FluentConfiguration.CustomInterceptorsConfig |
FluentConfiguration.CustomInterceptorPosition.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 |
ClusteringInterceptor
Base class for replication and distribution interceptors.
|
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 |
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 |
TxInterceptor
Interceptor in charge with handling transaction related operations, e.g enlisting cache as an transaction
participant, propagating remotely initiated changes.
|
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.getInterceptorsWithClass(Class clazz)
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) |
boolean |
InterceptorChain.containsInterceptorType(Class<? extends CommandInterceptor> interceptorType,
boolean alsoMatchSubClasses) |
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.
|
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 |
BaseDistributionInterceptor
Base class for distribution of entries across a cluster.
|
class |
L1NonTxInterceptor
Interceptor that handles L1 logic for non-transactional caches.
|
class |
NonTxConcurrentDistributionInterceptor
Non-transactional interceptor to be used by caches that want to support concurrent writes.
|
class |
NonTxDistributionInterceptor
Handles the distribution of the non-transactional caches.
|
class |
TxDistributionInterceptor
Handles the distribution of the transactional caches.
|
class |
VersionedDistributionInterceptor
A version of the
TxDistributionInterceptor that adds logic to handling prepares when entries are versioned. |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseBackupInterceptor |
class |
NonTransactionalBackupInterceptor
Handles x-site data backups for non-transactional caches.
|
class |
OptimisticBackupInterceptor
Handles x-site data backups for optimistic transactional caches.
|
class |
PessimisticBackupInterceptor
Handles x-site data backups for pessimistic transactional caches.
|
Modifier and Type | Class and Description |
---|---|
class |
LocalQueryInterceptor
This class is an interceptor that will index data only if it has come from a local source.
|
class |
QueryInterceptor
This interceptor will be created when the System Property "infinispan.query.indexLocalOnly" is "false"
This type of interceptor will allow the indexing of data even when it comes from other caches within a cluster.
|
Modifier and Type | Class and Description |
---|---|
class |
StateTransferInterceptor
This interceptor has two tasks:
If the command's topology id is higher than the current topology id,
wait for the node to receive transaction data for the new topology id.
If the topology id changed during a command's execution, forward the command to the new owners.
Note that we don't keep track of old cache topologies (yet), so we actually forward the command to all the owners
-- not just the ones added in the new topology.
|
class |
TransactionSynchronizerInterceptor
With the Non-Blocking State Transfer (NBST) in place it is possible for a transactional command to be forwarded
multiple times, concurrently to the same node.
|
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.