Class EPStatementHandleCallbackSchedule
java.lang.Object
com.espertech.esper.common.internal.context.util.EPStatementHandleCallbackSchedule
- All Implemented Interfaces:
ScheduleHandle
-
Field Summary
Fields inherited from interface com.espertech.esper.common.internal.schedule.ScheduleHandle
EPTYPE, EPTYPE_SCHEDULEOBJECTTYPE
-
Constructor Summary
ConstructorDescriptionEPStatementHandleCallbackSchedule
(EPStatementAgentInstanceHandle agentInstanceHandle, ScheduleHandleCallback callback) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the statement handle.int
Returns the agent instance id.int
Returns the statement id.
-
Constructor Details
-
EPStatementHandleCallbackSchedule
public EPStatementHandleCallbackSchedule(EPStatementAgentInstanceHandle agentInstanceHandle, ScheduleHandleCallback callback) Ctor.- Parameters:
agentInstanceHandle
- is a statement handlecallback
- is a schedule callback
-
-
Method Details
-
getStatementId
public int getStatementId()Description copied from interface:ScheduleHandle
Returns the statement id.- Specified by:
getStatementId
in interfaceScheduleHandle
- Returns:
- statement id
-
getAgentInstanceId
public int getAgentInstanceId()Description copied from interface:ScheduleHandle
Returns the agent instance id.- Specified by:
getAgentInstanceId
in interfaceScheduleHandle
- Returns:
- agent instance id
-
getAgentInstanceHandle
Returns the statement handle.- Returns:
- handle containing a statement resource lock
-
getScheduleCallback
-