public interface EPDataFlowInstance
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel execution.
|
String |
getDataFlowName()
Returns the data flow name.
|
String |
getInstanceId()
Returns the instance id associated, if any.
|
Map<String,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. |
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.
|
String getDataFlowName()
EPDataFlowState getState()
void run() throws IllegalStateException, EPDataFlowExecutionException, EPDataFlowCancellationException
IllegalStateException
- thrown to indicate that the state is not instantiated.EPDataFlowExecutionException
- thrown when an execution exception occursEPDataFlowCancellationException
- throw to indicate the data flow was cancelled.void start() throws IllegalStateException
IllegalStateException
- thrown to indicate that the state is not instantiated.EPDataFlowInstanceCaptive startCaptive()
void join() throws IllegalStateException, InterruptedException
IllegalStateException
- thrown if it cannot be joinedInterruptedException
- thrown if interruptedvoid cancel()
EPDataFlowInstanceStatistics getStatistics()
EPDataFlowInstantiationOptions
to turn on stats.Object getUserObject()
EPDataFlowInstantiationOptions
to associate.String getInstanceId()
EPDataFlowInstantiationOptions
to associate.