Interface RemoveListener

  • All Superinterfaces:
    java.util.EventListener, MatchListener, java.io.Serializable

    public interface RemoveListener
    extends MatchListener
    This interface defines the single method that must be implemented in order for a MatchListener to be told when it's connection to an EventExpression has gone.
    • Method Detail

      • removed

        void removed​(EventExpression eventExpression)
        This method will be called whenever this Listener is removed from an EventExpression it is attached to, or when the event expression has moved into a state where it will never match again e.g. "on A() within (10.0)" after 10 seconds have elapsed without an A(). The method should execute as quickly as possible as it will be called synchronously by the Correlator.
        Parameters:
        eventExpression - The event expression which has died or we have been removed from.