Interface EventInterceptor<E extends Event<? extends Enum>>

Type Parameters:
E - the type of Event 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 processing Events.

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

    Modifier and Type
    Method
    Description
    void
    onEvent(E event)
    Perform necessary processing of the specified Event.
  • Method Details

    • onEvent

      void onEvent(E event)
      Perform necessary processing of the specified Event.
      Parameters:
      event - the Event to be processed
      See Also: