com.espertech.esper.client
Class ConfigurationEngineDefaults.Variables

java.lang.Object
  extended by com.espertech.esper.client.ConfigurationEngineDefaults.Variables
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ConfigurationEngineDefaults

public static class ConfigurationEngineDefaults.Variables
extends java.lang.Object
implements java.io.Serializable

Holds variables settings.

See Also:
Serialized Form

Constructor Summary
protected ConfigurationEngineDefaults.Variables()
          Ctor - sets up defaults.
 
Method Summary
 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.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationEngineDefaults.Variables

protected ConfigurationEngineDefaults.Variables()
Ctor - sets up defaults.

Method Detail

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 engine 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

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com