Class DeploymentOptions
EPDeploymentService.deploy(com.espertech.esper.common.client.EPCompiled)
.
The lock strategy is only relevant for EPDeploymentService.deploy(com.espertech.esper.common.client.EPCompiled)
and not for EPDeploymentService.rollout(java.util.Collection<com.espertech.esper.runtime.client.EPDeploymentRolloutCompiled>)
, use instead
.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the class loader optionReturns the deployment id if one should be assigned; A null value causes the runtime to generate and assign a deployment id.Return the deployment lock strategy, the default isLockStrategyDefault
Returns the callback overriding the statement name that identifies the statement within the deployment and that can be obtained usingEPStatement.getName()
Returns the callback providing values for substitution parameters.Returns the callback providing a runtime statement user object that can be obtained usingEPStatement.getUserObjectRuntime()
setDeploymentClassLoaderOption
(DeploymentClassLoaderOption deploymentClassLoaderOption) Sets the class loader optionsetDeploymentId
(String deploymentId) Sets the deployment id if one should be assigned; A null value causes the runtime to generate and assign a deployment id.setDeploymentLockStrategy
(LockStrategy deploymentLockStrategy) Sets the deployment lock strategy, the default isLockStrategyDefault
setStatementNameRuntime
(StatementNameRuntimeOption statementNameRuntime) Sets the callback overriding the statement name that identifies the statement within the deployment and that can be obtained usingEPStatement.getName()
setStatementSubstitutionParameter
(StatementSubstitutionParameterOption statementSubstitutionParameter) Sets the callback providing values for substitution parameters.setStatementUserObjectRuntime
(StatementUserObjectRuntimeOption statementUserObjectRuntime) Sets the callback providing a runtime statement user object that can be obtained usingEPStatement.getUserObjectRuntime()
-
Constructor Details
-
DeploymentOptions
public DeploymentOptions()
-
-
Method Details
-
getDeploymentId
Returns the deployment id if one should be assigned; A null value causes the runtime to generate and assign a deployment id.- Returns:
- deployment id
-
setDeploymentId
Sets the deployment id if one should be assigned; A null value causes the runtime to generate and assign a deployment id.- Parameters:
deploymentId
- deployment id- Returns:
- itself
-
getStatementUserObjectRuntime
Returns the callback providing a runtime statement user object that can be obtained usingEPStatement.getUserObjectRuntime()
- Returns:
- callback
-
setStatementUserObjectRuntime
public DeploymentOptions setStatementUserObjectRuntime(StatementUserObjectRuntimeOption statementUserObjectRuntime) Sets the callback providing a runtime statement user object that can be obtained usingEPStatement.getUserObjectRuntime()
- Parameters:
statementUserObjectRuntime
- callback- Returns:
- itself
-
getStatementNameRuntime
Returns the callback overriding the statement name that identifies the statement within the deployment and that can be obtained usingEPStatement.getName()
- Returns:
- callback
-
setStatementNameRuntime
Sets the callback overriding the statement name that identifies the statement within the deployment and that can be obtained usingEPStatement.getName()
- Parameters:
statementNameRuntime
- callback- Returns:
- itself
-
getDeploymentLockStrategy
Return the deployment lock strategy, the default isLockStrategyDefault
The lock strategy is only relevant for
EPDeploymentService.deploy(com.espertech.esper.common.client.EPCompiled)
and not forEPDeploymentService.rollout(java.util.Collection<com.espertech.esper.runtime.client.EPDeploymentRolloutCompiled>)
, useinstead
.- Returns:
- lock strategy
-
setDeploymentLockStrategy
Sets the deployment lock strategy, the default isLockStrategyDefault
The lock strategy is only relevant for
EPDeploymentService.deploy(com.espertech.esper.common.client.EPCompiled)
and not forEPDeploymentService.rollout(java.util.Collection<com.espertech.esper.runtime.client.EPDeploymentRolloutCompiled>)
, useinstead
.- Parameters:
deploymentLockStrategy
- lock strategy- Returns:
- itself
-
getStatementSubstitutionParameter
Returns the callback providing values for substitution parameters.- Returns:
- callback
-
setStatementSubstitutionParameter
public DeploymentOptions setStatementSubstitutionParameter(StatementSubstitutionParameterOption statementSubstitutionParameter) Sets the callback providing values for substitution parameters.- Parameters:
statementSubstitutionParameter
- callback- Returns:
- itself
-
getDeploymentClassLoaderOption
Returns the class loader option- Returns:
- class loader option
-
setDeploymentClassLoaderOption
public DeploymentOptions setDeploymentClassLoaderOption(DeploymentClassLoaderOption deploymentClassLoaderOption) Sets the class loader option- Parameters:
deploymentClassLoaderOption
- class loader option- Returns:
- itself
-