|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventInterceptor
An EventInterceptor
provides an implementation that is capable of intercepting and processing Event
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.
Method Summary | |
---|---|
void |
introduceEventDispatcher(java.lang.String sIdentifier, EventDispatcher dispatcher) Introduce and possibly bind this EventInterceptor to the specified EventDispatcher . |
void |
onEvent(Event event) Perform necessary processing of the specified Event . |
Method Detail |
---|
void onEvent(Event event)
Event
.event
- the Event
to be processedvoid introduceEventDispatcher(java.lang.String sIdentifier, EventDispatcher dispatcher)
EventInterceptor
to the specified EventDispatcher
.
Note that EventInterceptor
s are responsible for determining whether they should be registered with an EventDispatcher
by calling EventDispatcher.addEventInterceptor(java.lang.String, com.tangosol.net.events.EventInterceptor, java.util.Set, boolean)
.
sIdentifier
- the unique name identifying this interceptordispatcher
- the dispatcher being introduced
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |