Package com.tangosol.net.events
Interface EventInterceptor<E extends Event<? extends Enum>>
-
- Type Parameters:
E
- the type ofEvent
this interceptor accepts
- All Known Subinterfaces:
Coherence.LifecycleListener
,EventDispatcherAwareInterceptor<E>
- All Known Implementing Classes:
CoherenceConfigSource
,ContainerHelper.JCacheLifecycleInterceptor
,EventObserverSupport.CacheLifecycleEventHandler
,EventObserverSupport.CoherenceLifecycleEventHandler
,EventObserverSupport.EntryEventHandler
,EventObserverSupport.EntryProcessorEventHandler
,EventObserverSupport.EventHandler
,EventObserverSupport.LifecycleEventHandler
,EventObserverSupport.ServiceEventHandler
,EventObserverSupport.SessionLifecycleEventHandler
,EventObserverSupport.TransactionEventHandler
,EventObserverSupport.TransferEventHandler
,EventObserverSupport.UnsolicitedCommitEventHandler
,NamedEventInterceptor
public interface EventInterceptor<E extends Event<? extends Enum>>
An EventInterceptor provides an implementation that is capable of intercepting and processingEvent
s.While it's possible for EventInterceptor instances to be reused, they should be immutable or thread-safe such that an interceptor could be dispatched by multiple threads concurrently.
- Since:
- Coherence 12.1.2
- Author:
- nsa, rhan, bo, mwj, rhl, hr 2011.03.29
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onEvent(E event)
Perform necessary processing of the specifiedEvent
.
-
-
-
Method Detail
-
onEvent
void onEvent(E event)
Perform necessary processing of the specifiedEvent
.- Parameters:
event
- the Event to be processed- See Also:
Event.nextInterceptor()
-
-