Package | Description |
---|---|
com.espertech.esper.common.client.variable |
Classes for variable management
|
Modifier and Type | Method and Description |
---|---|
Map<DeploymentIdNamePair,Object> |
EPVariableService.getVariableValue(Set<DeploymentIdNamePair> variableNames)
Returns current variable values for each of the global variable names passed in,
guaranteeing consistency in the face of concurrent updates to the variables.
|
Map<DeploymentIdNamePair,List<ContextPartitionVariableState>> |
EPVariableService.getVariableValue(Set<DeploymentIdNamePair> variableNames,
ContextPartitionSelector contextPartitionSelector)
Returns the current variable values for a context-partitioned variable, per context partition.
|
Object |
EPVariableService.getVariableValue(String deploymentId,
String variableName)
Returns the current variable value for a global variable.
|
void |
EPVariableService.setVariableValue(Map<DeploymentIdNamePair,Object> variableValues)
Sets the value of multiple global variables in one update, applying all or none of the changes
to variable values in one atomic transaction.
|
void |
EPVariableService.setVariableValue(Map<DeploymentIdNamePair,Object> variableValues,
int agentInstanceId)
Sets the value of multiple context-partitioned variables in one update, applying all or none of the changes
to variable values in one atomic transaction.
|
void |
EPVariableService.setVariableValue(String deploymentId,
String variableName,
Object variableValue)
Sets the value of a single global variable.
|
Copyright © 2005–2018. All rights reserved.