Class VirtualDataWindowEventConsumerBase

java.lang.Object
com.espertech.esper.common.client.hook.vdw.VirtualDataWindowEvent
com.espertech.esper.common.client.hook.vdw.VirtualDataWindowEventConsumerBase
Direct Known Subclasses:
VirtualDataWindowEventConsumerAdd, VirtualDataWindowEventConsumerRemove

public abstract class VirtualDataWindowEventConsumerBase extends VirtualDataWindowEvent
Base class for events indicating a named-window consumer management.
  • Constructor Details

    • VirtualDataWindowEventConsumerBase

      public VirtualDataWindowEventConsumerBase(String namedWindowName, Object consumerObject, String statementName, int agentInstanceId)
      Ctor.
      Parameters:
      namedWindowName - the named window name
      consumerObject - an object that identifies the consumer, the same instance or the add and for the remove event
      statementName - statement name
      agentInstanceId - agent instance id
  • Method Details

    • getNamedWindowName

      public String getNamedWindowName()
      Returns the named window name.
      Returns:
      named window name
    • getConsumerObject

      public Object getConsumerObject()
      Returns an object that serves as a unique identifier for the consumer, with multiple consumer per statements possible.

      Upon remove the removal event contains the same consumer object.

      Returns:
      consumer object
    • getStatementName

      public String getStatementName()
      Returns the statement name.
      Returns:
      statement name
    • getAgentInstanceId

      public int getAgentInstanceId()
      Returns the agent instance id (context partition id).
      Returns:
      agent instance id