|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EPDataFlowInstance
Data flow instanve.
Method Summary | |
---|---|
void |
cancel()
Cancel execution. |
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. |
Method Detail |
---|
java.lang.String getDataFlowName()
EPDataFlowState getState()
void run() throws java.lang.IllegalStateException, EPDataFlowExecutionException, EPDataFlowCancellationException
java.lang.IllegalStateException
- thrown to indicate that the state is not instantiated.
EPDataFlowExecutionException
- thrown when an execution exception occurs
EPDataFlowCancellationException
- throw to indicate the data flow was cancelled.void start() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- thrown to indicate that the state is not instantiated.EPDataFlowInstanceCaptive startCaptive()
void join() throws java.lang.IllegalStateException, java.lang.InterruptedException
java.lang.IllegalStateException
- thrown if it cannot be joined
java.lang.InterruptedException
- thrown if interruptedvoid cancel()
EPDataFlowInstanceStatistics getStatistics()
EPDataFlowInstantiationOptions
to turn on stats.
java.lang.Object getUserObject()
EPDataFlowInstantiationOptions
to associate.
java.lang.String getInstanceId()
EPDataFlowInstantiationOptions
to associate.
java.util.Map<java.lang.String,java.lang.Object> getParameters()
|
© 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 |