|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.dataflow.core.EPDataFlowInstanceImpl
public class EPDataFlowInstanceImpl
Constructor Summary | |
---|---|
EPDataFlowInstanceImpl(java.lang.String engineURI,
java.lang.String statementName,
boolean audit,
java.lang.String dataFlowName,
java.lang.Object userObject,
java.lang.String instanceId,
EPDataFlowState state,
java.util.List<GraphSourceRunnable> sourceRunnables,
java.util.Map<java.lang.Integer,java.lang.Object> operators,
java.util.Set<java.lang.Integer> operatorBuildOrder,
EPDataFlowInstanceStatistics statisticsProvider,
java.util.Map<java.lang.String,java.lang.Object> parameters)
|
Method Summary | |
---|---|
void |
cancel()
Cancel execution. |
void |
completed()
|
java.lang.String |
getDataFlowName()
Returns the data flow name. |
java.lang.String |
getInstanceId()
Returns the instance id associated, if any. |
java.util.Map<java.lang.String,java.lang.Object> |
getParameters()
Returns runtime parameters provided at instantiation time, or null if none have been provided. |
EPDataFlowState |
getState()
Returns the state. |
EPDataFlowInstanceStatistics |
getStatistics()
Get data flow instance statistics, required instantiation with statistics option, use EPDataFlowInstantiationOptions to turn on stats. |
java.lang.Object |
getUserObject()
Returns the user object associated, if any. |
void |
join()
Join an executing data flow instance. |
void |
run()
Blocking execution of the data flow instance. |
void |
start()
Non-Blocking execution of the data flow instance. |
EPDataFlowInstanceCaptive |
startCaptive()
Captive execution of the data flow instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EPDataFlowInstanceImpl(java.lang.String engineURI, java.lang.String statementName, boolean audit, java.lang.String dataFlowName, java.lang.Object userObject, java.lang.String instanceId, EPDataFlowState state, java.util.List<GraphSourceRunnable> sourceRunnables, java.util.Map<java.lang.Integer,java.lang.Object> operators, java.util.Set<java.lang.Integer> operatorBuildOrder, EPDataFlowInstanceStatistics statisticsProvider, java.util.Map<java.lang.String,java.lang.Object> parameters)
Method Detail |
---|
public java.lang.String getDataFlowName()
EPDataFlowInstance
getDataFlowName
in interface EPDataFlowInstance
public EPDataFlowState getState()
EPDataFlowInstance
getState
in interface EPDataFlowInstance
public java.lang.Object getUserObject()
EPDataFlowInstance
EPDataFlowInstantiationOptions
to associate.
getUserObject
in interface EPDataFlowInstance
public java.lang.String getInstanceId()
EPDataFlowInstance
EPDataFlowInstantiationOptions
to associate.
getInstanceId
in interface EPDataFlowInstance
public java.util.Map<java.lang.String,java.lang.Object> getParameters()
EPDataFlowInstance
getParameters
in interface EPDataFlowInstance
public EPDataFlowInstanceCaptive startCaptive()
EPDataFlowInstance
startCaptive
in interface EPDataFlowInstance
public void run()
EPDataFlowInstance
run
in interface EPDataFlowInstance
public void start()
EPDataFlowInstance
start
in interface EPDataFlowInstance
public void join() throws java.lang.InterruptedException
EPDataFlowInstance
join
in interface EPDataFlowInstance
java.lang.InterruptedException
- thrown if interruptedpublic void cancel()
EPDataFlowInstance
cancel
in interface EPDataFlowInstance
public void completed()
completed
in interface CompletionListener
public EPDataFlowInstanceStatistics getStatistics()
EPDataFlowInstance
EPDataFlowInstantiationOptions
to turn on stats.
getStatistics
in interface EPDataFlowInstance
|
© 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 |