Class FederationEventHandler<E extends com.tangosol.net.events.Event<T>,​T extends Enum<T>>

  • Type Parameters:
    E - the type of Event this interceptor accepts
    T - the enumeration of event types E supports
    All Implemented Interfaces:
    com.tangosol.net.events.EventDispatcherAwareInterceptor<E>, com.tangosol.net.events.EventInterceptor<E>
    Direct Known Subclasses:
    FederatedChangeEventHandler, FederatedConnectionEventHandler, FederatedPartitionEventHandler

    public abstract class FederationEventHandler<E extends com.tangosol.net.events.Event<T>,​T extends Enum<T>>
    extends ServiceEventHandler<E,​T>
    Abstract base class for all observer-based federation interceptors.
    Since:
    3.0
    Author:
    Gunnar Hillert
    • Field Detail

      • participantName

        protected final String participantName
      • participantNameFunction

        protected final Function<E extends com.tangosol.net.events.Event<T>,​String> participantNameFunction
    • Method Detail

      • isApplicable

        protected boolean isApplicable​(com.tangosol.net.events.EventDispatcher dispatcher,
                                       String sScopeName)
        Overrides:
        isApplicable in class ServiceEventHandler<E extends com.tangosol.net.events.Event<T>,​T extends Enum<T>>
      • shouldFire

        protected boolean shouldFire​(E event)