public static class ConfigurationEngineDefaults.Variables extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
Variables()
Ctor - sets up defaults.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public long getMsecVersionRelease()
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.
public void setMsecVersionRelease(long msecVersionRelease)
msecVersionRelease
- millisecond time interval that a variables version is guaranteed to be stable
in the context of an atomic statement execution