Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


com.tangosol.net.events
Interface EventDispatcher

All Known Subinterfaces:
BackingMapDispatcher, PartitionedServiceDispatcher

public interface EventDispatcher

An EventDispatcher is responsible for dispatching Events to EventInterceptors for processing.

Since:
Coherence 3.7.1
Author:
bko, nsa, rhan, mwj, rhl 2011.03.29

Method Summary
 void addEventInterceptor(java.lang.String sIdentifier, EventInterceptor interceptor, java.util.Set setTypes, boolean fFirst)
          Add a uniquely identified EventInterceptor to this dispatcher to be used to process Events.
 java.util.Set getSupportedTypes()
          Return the set of Event types this EventDispatcher supports.
 void removeEventInterceptor(java.lang.String sIdentifier)
          Remove an EventInterceptor from this dispatcher.

 

Method Detail

addEventInterceptor

void addEventInterceptor(java.lang.String sIdentifier,
                         EventInterceptor interceptor,
                         java.util.Set setTypes,
                         boolean fFirst)
Add a uniquely identified EventInterceptor to this dispatcher to be used to process Events.
Parameters:
sIdentifier - the unique name of the EventInterceptor to add
interceptor - the EventInterceptor to add
setTypes - the Event types the specified interceptor is subscribing to, or null to subscribe to all events
fFirst - true iff the EventInterceptor should be added to the head of this dispatcher's interceptor chain

removeEventInterceptor

void removeEventInterceptor(java.lang.String sIdentifier)
Remove an EventInterceptor from this dispatcher.
Parameters:
sIdentifier - the unique name identifying the EventInterceptor to remove

getSupportedTypes

java.util.Set getSupportedTypes()
Return the set of Event types this EventDispatcher supports.
Returns:
the set of Event types this EventDispatcher supports

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.