Annotation Type Interceptor
-
@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface Interceptor
Interceptor is an annotation that can be applied toEventInterceptor
implementations. The annotation allows the specification of an identifier and an order.When used in combination with the cache configuration the annotation members
identifier()
andorder()
can be overridden by the corresponding XML elements.- Since:
- Coherence 12.1.2
- Author:
- hr 2011.10.07
-
-
Optional Element Summary
-
-
-
Element Detail
-
identifier
String identifier
A unique identifier for the interceptor.- Returns:
- unique identifier for the interceptor
- Default:
- ""
-
-
-
entryEvents
@Deprecated EntryEvent.Type[] entryEvents
Deprecated.useEntryEvents
annotation insteadThis element specifies all types ofEntryEvent.Type
s the interceptor would like to be invoked on.- Returns:
- all
EntryEvent.Type
s theEventInterceptor
would like to receive notifications on
- Default:
- {}
-
-
-
entryProcessorEvents
@Deprecated EntryProcessorEvent.Type[] entryProcessorEvents
Deprecated.useEntryProcessorEvents
annotation insteadThis element specifies all types ofEntryProcessorEvent.Type
s the interceptor would like to be invoked on.- Returns:
- all
EntryProcessorEvent.Type
s theEventInterceptor
would like to receive notifications on
- Default:
- {}
-
-
-
federatedChangeEvents
@Deprecated FederatedChangeEvent.Type[] federatedChangeEvents
Deprecated.useFederatedChangeEvents
annotation insteadThis element specifies all types ofFederatedChangeEvent.Type
s the interceptor would like to be invoked on.- Returns:
- all
FederatedChangeEvent.Type
s theEventInterceptor
would like to receive notifications on
- Default:
- {}
-
-
-
federatedConnectionEvents
@Deprecated FederatedConnectionEvent.Type[] federatedConnectionEvents
Deprecated.useFederatedConnectionEvents
annotation insteadThis element specifies all types ofFederatedConnectionEvent.Type
s the interceptor would like to be invoked on.- Returns:
- all
FederatedConnectionEvent.Type
s theEventInterceptor
would like to receive notifications on
- Default:
- {}
-
-
-
federatedPartitionEvents
@Deprecated FederatedPartitionEvent.Type[] federatedPartitionEvents
Deprecated.useFederatedPartitionEvents
annotation insteadThis element specifies all types ofFederatedPartitionEvent.Type
s the interceptor would like to be invoked on.- Returns:
- all
FederatedPartitionEvent.Type
s theEventInterceptor
would like to receive notifications on
- Default:
- {}
-
-
-
transferEvents
@Deprecated TransferEvent.Type[] transferEvents
Deprecated.useTransferEvents
annotation insteadThis element specifies all types ofTransferEvent.Type
s the interceptor would like to be invoked on.- Returns:
- all
TransferEvent.Type
s theEventInterceptor
would like to receive notifications on
- Default:
- {}
-
-
-
transactionEvents
@Deprecated TransactionEvent.Type[] transactionEvents
Deprecated.useTransactionEvents
annotation insteadThis element specifies all types ofTransactionEvent.Type
s the interceptor would like to be invoked on.- Returns:
- all
TransactionEvent.Type
s theEventInterceptor
would like to receive notifications on
- Default:
- {}
-
-
-
unsolicitedEvents
@Deprecated UnsolicitedCommitEvent.Type[] unsolicitedEvents
Deprecated.useUnsolicitedCommitEvents
annotation insteadThis element specifies all types ofUnsolicitedCommitEvent.Type
s the interceptor would like to be invoked on.- Returns:
- all
UnsolicitedCommitEvent.Type
s theEventInterceptor
would like to receive notifications on
- Default:
- {}
-
-
-
cacheLifecycleEvents
@Deprecated CacheLifecycleEvent.Type[] cacheLifecycleEvents
Deprecated.useCacheLifecycleEvents
annotation insteadThis element specifies all types ofCacheLifecycleEvent.Type
s the interceptor would like to be invoked on.- Returns:
- all
CacheLifecycleEvent.Type
s theEventInterceptor
would like to receive notifications on
- Default:
- {}
-
-
-
order
Interceptor.Order order
Iff a value ofInterceptor.Order.HIGH
is provided this interceptor will request to be the first in the chain of interceptors.- Returns:
- whether this
EventInterceptor
should be first (Interceptor.Order.HIGH
) in the chain ofEventInterceptor
s
- Default:
- com.tangosol.net.events.annotation.Interceptor.Order.LOW
-
-