public interface EPDataFlowInstance
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel execution.
|
java.lang.String |
getDataFlowDeploymentId()
Returns the data flow deployment id.
|
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.
|
java.lang.String getDataFlowDeploymentId()
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 occursEPDataFlowCancellationException
- 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 joinedjava.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()