Package | Description |
---|---|
org.infinispan |
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
|
org.infinispan.configuration.cache |
Cache configuration |
org.infinispan.interceptors.base |
Base interceptors containing common, reusable behavior.
|
Modifier and Type | Method and Description |
---|---|
List<CommandInterceptor> |
AdvancedCache.getInterceptorChain()
Retrieves the current Interceptor chain.
|
Modifier and Type | Method and Description |
---|---|
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 |
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 |
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 |
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 |
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 |
AdvancedCache.removeInterceptor(Class<? extends CommandInterceptor> interceptorType)
Removes the interceptor of specified type.
|
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 |
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 |
BaseStateTransferInterceptor
A base class for a state transfer interceptor.
|
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.
|
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.