Click or drag to resize

EPVariableServiceSetVariableValue Method (String, String, Object)

Sets the value of a single global variable.

Note that the thread setting the variable value queues the changes, i.e. it does not itself re-evaluate such new variable value for any given statement. The timer thread performs this work. Not for use with context-partitioned variables.

Namespace:  com.espertech.esper.common.client.variable
Assembly:  NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
C#
void SetVariableValue(
	string deploymentId,
	string variableName,
	Object variableValue
)

Parameters

deploymentId
Type: SystemString
deployment id
variableName
Type: SystemString
is the name of the variable to change the value of
variableValue
Type: SystemObject
is the new value of the variable, with null an allowed value
See Also