Class VariableVersionThreadEntry
java.lang.Object
com.espertech.esper.common.internal.epl.variable.core.VariableVersionThreadEntry
Thread-specific state in regards to variable versions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a map of variable number and uncommitted value, or empty map or null if none existReturns the version visible for a thread.void
Sets a map of variable number and uncommitted value, or empty map or null if none existvoid
setVersion
(Integer version) Sets the version visible for a thread.
-
Constructor Details
-
VariableVersionThreadEntry
Ctor.- Parameters:
version
- current version number of the variables visible to threaduncommitted
- the uncommitted values of variables for the thread, if any
-
-
Method Details
-
getVersion
Returns the version visible for a thread.- Returns:
- version number
-
setVersion
Sets the version visible for a thread.- Parameters:
version
- version number
-
getUncommitted
Returns a map of variable number and uncommitted value, or empty map or null if none exist- Returns:
- uncommitted values
-
setUncommitted
Sets a map of variable number and uncommitted value, or empty map or null if none exist- Parameters:
uncommitted
- uncommitted values
-