java.lang.Runnableprivate static class GenericStatementContext.CancelQueryTask
extends java.util.TimerTask
| Modifier and Type | Field | Description |
|---|---|---|
private StatementContext |
statementContext |
Reference to the StatementContext for the executing statement
which might time out.
|
| Constructor | Description |
|---|---|
CancelQueryTask(StatementContext ctx) |
Initializes a new task for timing out a statement's execution.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
forgetContext() |
Stops this task and prevents it from cancelling a statement.
|
void |
run() |
Invoked by a Timer class to cancel an executing statement.
|
private StatementContext statementContext
public CancelQueryTask(StatementContext ctx)
public void run()
run in interface java.lang.Runnablerun in class java.util.TimerTaskpublic void forgetContext()
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.