Package | Description |
---|---|
com.espertech.esper.common.client.variable |
Classes for variable management
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<com.espertech.esper.common.internal.util.DeploymentIdNamePair,java.lang.Object> |
EPVariableService.getVariableValue(java.util.Set<com.espertech.esper.common.internal.util.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.
|
java.util.Map<com.espertech.esper.common.internal.util.DeploymentIdNamePair,java.util.List<ContextPartitionVariableState>> |
EPVariableService.getVariableValue(java.util.Set<com.espertech.esper.common.internal.util.DeploymentIdNamePair> variableNames,
ContextPartitionSelector contextPartitionSelector)
Returns the current variable values for a context-partitioned variable, per context partition.
|
java.lang.Object |
EPVariableService.getVariableValue(java.lang.String deploymentId,
java.lang.String variableName)
Returns the current variable value for a global variable.
|
void |
EPVariableService.setVariableValue(java.util.Map<com.espertech.esper.common.internal.util.DeploymentIdNamePair,java.lang.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(java.util.Map<com.espertech.esper.common.internal.util.DeploymentIdNamePair,java.lang.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(java.lang.String deploymentId,
java.lang.String variableName,
java.lang.Object variableValue)
Sets the value of a single global variable.
|