Class EPDataFlowInstantiationOptions
java.lang.Object
com.espertech.esper.common.client.dataflow.core.EPDataFlowInstantiationOptions
- All Implemented Interfaces:
Serializable
Options for use when instantiating a data flow in
EPDataFlowService
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameterURI
(String name, Object value) Add a parameter.cpuStatistics
(boolean cpuStatistics) Sets indicator whether to collect CPU statistics.dataFlowInstanceId
(String dataFlowInstanceId) Sets the data flow instance iddataFlowInstanceUserObject
(Object dataFlowInstanceUserObject) Sets the user object associated to the data flow instance.exceptionHandler
(EPDataFlowExceptionHandler exceptionHandler) Sets the exception handler.Returns the instance id assigned.Returns the user object associated to the data flow instance.Returns the exception handler.Returns the operator provider.Returns the parameter provider.Returns parameters.Returns the event sender /runtime to useboolean
Returns indicator whether to collect CPU statistics.boolean
Returns indicator whether to collect operator statistics.operatorProvider
(EPDataFlowOperatorProvider operatorProvider) Sets the the operator provider.operatorStatistics
(boolean statistics) Sets indicator whether to collect operator statistics.parameterProvider
(EPDataFlowOperatorParameterProvider parameterProvider) Sets the parameter provider.void
setCpuStatistics
(boolean cpuStatistics) Sets indicator whether to collect CPU statistics.void
setDataFlowInstanceId
(String dataFlowInstanceId) Sets the data flow instance idvoid
setDataFlowInstanceUserObject
(Object dataFlowInstanceUserObject) Sets the user object associated to the data flow instance.void
setExceptionHandler
(EPDataFlowExceptionHandler exceptionHandler) Sets the exception handler.void
setOperatorProvider
(EPDataFlowOperatorProvider operatorProvider) Sets the the operator provider.void
setOperatorStatistics
(boolean operatorStatistics) Sets indicator whether to collect operator statistics.void
setParameterProvider
(EPDataFlowOperatorParameterProvider parameterProvider) Sets the parameter provider.void
setParametersURIs
(Map<String, Object> parametersURIs) Sets parameters.void
setSurrogateEventSender
(EPRuntimeEventProcessWrapped surrogateEventSender) Sets the event sender /runtime to use
-
Constructor Details
-
EPDataFlowInstantiationOptions
public EPDataFlowInstantiationOptions()
-
-
Method Details
-
getOperatorProvider
Returns the operator provider.- Returns:
- operator provider
-
operatorProvider
Sets the the operator provider.- Parameters:
operatorProvider
- operator provider- Returns:
- this options object
-
setOperatorProvider
Sets the the operator provider.- Parameters:
operatorProvider
- operator provider
-
parameterProvider
public EPDataFlowInstantiationOptions parameterProvider(EPDataFlowOperatorParameterProvider parameterProvider) Sets the parameter provider.- Parameters:
parameterProvider
- parameter provider- Returns:
- this options object
-
getParameterProvider
Returns the parameter provider.- Returns:
- parameter provider
-
setParameterProvider
Sets the parameter provider.- Parameters:
parameterProvider
- parameter provider
-
getExceptionHandler
Returns the exception handler.- Returns:
- exception handler.
-
exceptionHandler
Sets the exception handler.- Parameters:
exceptionHandler
- exception handler.- Returns:
- this options object
-
setExceptionHandler
Sets the exception handler.- Parameters:
exceptionHandler
- exception handler.
-
getDataFlowInstanceId
Returns the instance id assigned.- Returns:
- instance if
-
dataFlowInstanceId
Sets the data flow instance id- Parameters:
dataFlowInstanceId
- instance id- Returns:
- this options object
-
setDataFlowInstanceId
Sets the data flow instance id- Parameters:
dataFlowInstanceId
- instance id
-
getDataFlowInstanceUserObject
Returns the user object associated to the data flow instance.- Returns:
- user object
-
dataFlowInstanceUserObject
Sets the user object associated to the data flow instance.- Parameters:
dataFlowInstanceUserObject
- user object- Returns:
- this options object
-
setDataFlowInstanceUserObject
Sets the user object associated to the data flow instance.- Parameters:
dataFlowInstanceUserObject
- this options object
-
isOperatorStatistics
public boolean isOperatorStatistics()Returns indicator whether to collect operator statistics.- Returns:
- operator stats indicator
-
operatorStatistics
Sets indicator whether to collect operator statistics.- Parameters:
statistics
- operator stats indicator- Returns:
- this options object
-
setOperatorStatistics
public void setOperatorStatistics(boolean operatorStatistics) Sets indicator whether to collect operator statistics.- Parameters:
operatorStatistics
- operator stats indicator
-
isCpuStatistics
public boolean isCpuStatistics()Returns indicator whether to collect CPU statistics.- Returns:
- CPU stats
-
setCpuStatistics
public void setCpuStatistics(boolean cpuStatistics) Sets indicator whether to collect CPU statistics.- Parameters:
cpuStatistics
- CPU stats
-
cpuStatistics
Sets indicator whether to collect CPU statistics.- Parameters:
cpuStatistics
- CPU stats- Returns:
- this options object
-
getSurrogateEventSender
Returns the event sender /runtime to use- Returns:
- runtime.
-
setSurrogateEventSender
Sets the event sender /runtime to use- Parameters:
surrogateEventSender
- runtime to use for sending
-
addParameterURI
Add a parameter.- Parameters:
name
- is the urivalue
- the value
-
getParametersURIs
Returns parameters.- Returns:
- parameters
-
setParametersURIs
Sets parameters.- Parameters:
parametersURIs
- map of name value pairs
-