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
Base class for events indicating a named-window consumer management.
-
Constructor Summary
ConstructorDescriptionVirtualDataWindowEventConsumerBase
(String namedWindowName, Object consumerObject, String statementName, int agentInstanceId) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the agent instance id (context partition id).Returns an object that serves as a unique identifier for the consumer, with multiple consumer per statements possible.Returns the named window name.Returns the statement name.
-
Constructor Details
-
VirtualDataWindowEventConsumerBase
public VirtualDataWindowEventConsumerBase(String namedWindowName, Object consumerObject, String statementName, int agentInstanceId) Ctor.- Parameters:
namedWindowName
- the named window nameconsumerObject
- an object that identifies the consumer, the same instance or the add and for the remove eventstatementName
- statement nameagentInstanceId
- agent instance id
-
-
Method Details
-
getNamedWindowName
Returns the named window name.- Returns:
- named window name
-
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
Returns the statement name.- Returns:
- statement name
-
getAgentInstanceId
public int getAgentInstanceId()Returns the agent instance id (context partition id).- Returns:
- agent instance id
-