Class DeploymentStateEvent
java.lang.Object
com.espertech.esper.runtime.client.DeploymentStateEvent
- Direct Known Subclasses:
DeploymentStateEventDeployed
,DeploymentStateEventUndeployed
Deployment base event.
-
Constructor Summary
ConstructorDescriptionDeploymentStateEvent
(String runtimeURI, String deploymentId, String moduleName, EPStatement[] statements, int rolloutItemNumber) Ctor -
Method Summary
Modifier and TypeMethodDescriptionReturns the deployment idReturns the module name, when provided, or null if none providedint
Returns the rollout item number, or -1 when not using rolloutReturns the runtime uriReturns the statements for the deployment or undeployment
-
Constructor Details
-
DeploymentStateEvent
public DeploymentStateEvent(String runtimeURI, String deploymentId, String moduleName, EPStatement[] statements, int rolloutItemNumber) Ctor- Parameters:
runtimeURI
- runtime URIdeploymentId
- deployment idmoduleName
- module namestatements
- statementsrolloutItemNumber
- rollout item number when using rollout
-
-
Method Details
-
getRuntimeURI
Returns the runtime uri- Returns:
- runtime uri
-
getDeploymentId
Returns the deployment id- Returns:
- deployment id
-
getModuleName
Returns the module name, when provided, or null if none provided- Returns:
- module name
-
getStatements
Returns the statements for the deployment or undeployment- Returns:
- statements
-
getRolloutItemNumber
public int getRolloutItemNumber()Returns the rollout item number, or -1 when not using rollout- Returns:
- number, starting at zero
-