Click or drag to resize

EPVariableService Interface

Service for variable management.

Namespace:  com.espertech.esper.common.client.variable
Assembly:  NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
C#
public interface EPVariableService

The EPVariableService type exposes the following members.

Methods
  NameDescription
Public methodGetVariableValue(Boolean)
Public methodGetVariableValue(Boolean, DeploymentIdNamePair)
Public methodGetVariableValue(String, String)
Returns the current variable value for a global variable. A null value is a valid value for a variable. Not for use with context-partitioned variables.
Public methodGetVariableValueAll
Returns current variable values for all global variables, guaranteeing consistency in the face of concurrent updates to the variables. Not for use with context-partitioned variables.
Public methodSetVariableValue(IDictionaryTKey, TValue)
Public methodSetVariableValue(IDictionaryTKey, TValue, Boolean)
Public methodSetVariableValue(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.

Top
See Also