Class ConfigurationRuntimeVariables

java.lang.Object
com.espertech.esper.common.client.configuration.runtime.ConfigurationRuntimeVariables
All Implemented Interfaces:
Serializable

public class ConfigurationRuntimeVariables extends Object implements Serializable
Holds variables settings.
See Also:
  • Constructor Details

    • ConfigurationRuntimeVariables

      protected ConfigurationRuntimeVariables()
      Ctor - sets up defaults.
  • Method Details

    • getMsecVersionRelease

      public long getMsecVersionRelease()
      Returns the number of milliseconds that a version of a variables is held stable for use by very long-running atomic statement execution.

      A slow-executing statement such as an SQL join may use variables that, at the time the statement starts to execute, have certain values. The runtime guarantees that during statement execution the value of the variables stays the same as long as the statement does not take longer then the given number of milliseconds to execute. If the statement does take longer to execute then the variables release time, the current variables value applies instead.

      Returns:
      millisecond time interval that a variables version is guaranteed to be stable in the context of an atomic statement execution
    • setMsecVersionRelease

      public void setMsecVersionRelease(long msecVersionRelease)
      Sets the number of milliseconds that a version of a variables is held stable for use by very long-running atomic statement execution.
      Parameters:
      msecVersionRelease - millisecond time interval that a variables version is guaranteed to be stable in the context of an atomic statement execution