public class SetTimeoutStatementBuilder.SetTimeoutStatement extends AbstractQueryPlusStatementBuilder.AbstractStatement
Modifier and Type | Field and Description |
---|---|
protected com.oracle.coherence.common.util.Duration |
f_durationTimeout
The name of the timeout to set as the current timeout.
|
Constructor and Description |
---|
SetTimeoutStatement(com.oracle.coherence.common.util.Duration timeout)
Construct a SetTimeoutStatement that will set the
current timeout used by the QueryPlus session to the
specified timeout.
|
Modifier and Type | Method and Description |
---|---|
StatementResult |
execute(ExecutionContext ctx)
Set the current timeout to be used by the CohQL session.
|
getExecutionConfirmation, sanityCheck, showPlan
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isManagingTimeout
protected final com.oracle.coherence.common.util.Duration f_durationTimeout
public SetTimeoutStatement(com.oracle.coherence.common.util.Duration timeout)
timeout
- the value to set for the statement timeoutpublic StatementResult execute(ExecutionContext ctx)
ctx
- the context
to useStatementResult.NULL_RESULT