|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.core.service.EPStatementHandleCallback
public class EPStatementHandleCallback
Statement resource handle and callback for use with FilterService
and
SchedulingService
.
Links the statement handle identifying a statement and containing the statement resource lock, with the actual callback to invoke for a statement together.
Constructor Summary | |
---|---|
EPStatementHandleCallback(EPStatementAgentInstanceHandle agentInstanceHandle,
FilterHandleCallback callback)
Ctor. |
|
EPStatementHandleCallback(EPStatementAgentInstanceHandle agentInstanceHandle,
ScheduleHandleCallback callback)
Ctor. |
Method Summary | |
---|---|
EPStatementAgentInstanceHandle |
getAgentInstanceHandle()
Returns the statement handle. |
int |
getAgentInstanceId()
Returns the agent instance id. |
FilterHandleCallback |
getFilterCallback()
Returns the statement filter callback, or null if this is a schedule callback handle. |
ScheduleHandleCallback |
getScheduleCallback()
Returns the statement schedule callback, or null if this is a filter callback handle. |
java.lang.String |
getStatementId()
Returns the statement id. |
void |
setScheduleCallback(ScheduleHandleCallback scheduleCallback)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EPStatementHandleCallback(EPStatementAgentInstanceHandle agentInstanceHandle, FilterHandleCallback callback)
agentInstanceHandle
- is a statement handlecallback
- is a filter callbackpublic EPStatementHandleCallback(EPStatementAgentInstanceHandle agentInstanceHandle, ScheduleHandleCallback callback)
agentInstanceHandle
- is a statement handlecallback
- is a schedule callbackMethod Detail |
---|
public java.lang.String getStatementId()
FilterHandle
getStatementId
in interface FilterHandle
getStatementId
in interface ScheduleHandle
public int getAgentInstanceId()
ScheduleHandle
getAgentInstanceId
in interface ScheduleHandle
public EPStatementAgentInstanceHandle getAgentInstanceHandle()
public FilterHandleCallback getFilterCallback()
public ScheduleHandleCallback getScheduleCallback()
public void setScheduleCallback(ScheduleHandleCallback scheduleCallback)
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |