Annotation Type Interceptor
-
@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface Interceptor
Interceptor is an annotation that can be applied toEventInterceptorimplementations. 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.useEntryEventsannotation insteadThis element specifies all types ofEntryEvent.Types the interceptor would like to be invoked on.- Returns:
- all
EntryEvent.Types theEventInterceptorwould like to receive notifications on
- Default:
- {}
-
-
-
entryProcessorEvents
@Deprecated EntryProcessorEvent.Type[] entryProcessorEvents
Deprecated.useEntryProcessorEventsannotation insteadThis element specifies all types ofEntryProcessorEvent.Types the interceptor would like to be invoked on.- Returns:
- all
EntryProcessorEvent.Types theEventInterceptorwould like to receive notifications on
- Default:
- {}
-
-
-
federatedChangeEvents
@Deprecated FederatedChangeEvent.Type[] federatedChangeEvents
Deprecated.useFederatedChangeEventsannotation insteadThis element specifies all types ofFederatedChangeEvent.Types the interceptor would like to be invoked on.- Returns:
- all
FederatedChangeEvent.Types theEventInterceptorwould like to receive notifications on
- Default:
- {}
-
-
-
federatedConnectionEvents
@Deprecated FederatedConnectionEvent.Type[] federatedConnectionEvents
Deprecated.useFederatedConnectionEventsannotation insteadThis element specifies all types ofFederatedConnectionEvent.Types the interceptor would like to be invoked on.- Returns:
- all
FederatedConnectionEvent.Types theEventInterceptorwould like to receive notifications on
- Default:
- {}
-
-
-
federatedPartitionEvents
@Deprecated FederatedPartitionEvent.Type[] federatedPartitionEvents
Deprecated.useFederatedPartitionEventsannotation insteadThis element specifies all types ofFederatedPartitionEvent.Types the interceptor would like to be invoked on.- Returns:
- all
FederatedPartitionEvent.Types theEventInterceptorwould like to receive notifications on
- Default:
- {}
-
-
-
transferEvents
@Deprecated TransferEvent.Type[] transferEvents
Deprecated.useTransferEventsannotation insteadThis element specifies all types ofTransferEvent.Types the interceptor would like to be invoked on.- Returns:
- all
TransferEvent.Types theEventInterceptorwould like to receive notifications on
- Default:
- {}
-
-
-
transactionEvents
@Deprecated TransactionEvent.Type[] transactionEvents
Deprecated.useTransactionEventsannotation insteadThis element specifies all types ofTransactionEvent.Types the interceptor would like to be invoked on.- Returns:
- all
TransactionEvent.Types theEventInterceptorwould like to receive notifications on
- Default:
- {}
-
-
-
unsolicitedEvents
@Deprecated UnsolicitedCommitEvent.Type[] unsolicitedEvents
Deprecated.useUnsolicitedCommitEventsannotation insteadThis element specifies all types ofUnsolicitedCommitEvent.Types the interceptor would like to be invoked on.- Returns:
- all
UnsolicitedCommitEvent.Types theEventInterceptorwould like to receive notifications on
- Default:
- {}
-
-
-
cacheLifecycleEvents
@Deprecated CacheLifecycleEvent.Type[] cacheLifecycleEvents
Deprecated.useCacheLifecycleEventsannotation insteadThis element specifies all types ofCacheLifecycleEvent.Types the interceptor would like to be invoked on.- Returns:
- all
CacheLifecycleEvent.Types theEventInterceptorwould like to receive notifications on
- Default:
- {}
-
-
-
order
Interceptor.Order order
Iff a value ofInterceptor.Order.HIGHis provided this interceptor will request to be the first in the chain of interceptors.- Returns:
- whether this
EventInterceptorshould be first (Interceptor.Order.HIGH) in the chain ofEventInterceptors
- Default:
- com.tangosol.net.events.annotation.Interceptor.Order.LOW
-
-