| Modifier and Type | Class and Description |
|---|---|
| protected class |
| Modifier and Type | Field and Description |
|---|---|
| protected volatile boolean | isShutdown
true if thread should shut down after processing current task. |
| protected final HsqlDeque | |
| protected static final Runnable | SHUTDOWNTASK
Special queue element to signal termination |
| protected final HsqlTaskQueue. | |
| protected Thread | taskRunnerThread
The thread used to process commands |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected synchronized void | |
| public void | |
| public synchronized Thread | |
| public boolean | |
| public synchronized void | |
| public synchronized void | |
| public synchronized void | |
| public synchronized void |
| isShutdown | back to summary |
|---|---|
| protected volatile boolean isShutdown true if thread should shut down after processing current task. Once set true, stays true forever | |
| queue | back to summary |
|---|---|
| protected final HsqlDeque<Runnable> queue | |
| SHUTDOWNTASK | back to summary |
|---|---|
| protected static final Runnable SHUTDOWNTASK Special queue element to signal termination | |
| taskRunner | back to summary |
|---|---|
| protected final HsqlTaskQueue. | |
| taskRunnerThread | back to summary |
|---|---|
| protected Thread taskRunnerThread The thread used to process commands | |
| HsqlTaskQueue | back to summary |
|---|---|
| public HsqlTaskQueue() | |
| clearThread | back to summary |
|---|---|
| protected synchronized void clearThread() | |
| execute | back to summary |
|---|---|
| public void execute(Runnable command) throws RuntimeException | |
| getTaskRunnerThread | back to summary |
|---|---|
| public synchronized Thread getTaskRunnerThread() | |
| isShutdown | back to summary |
|---|---|
| public boolean isShutdown() | |
| restart | back to summary |
|---|---|
| public synchronized void restart() | |
| shutdownAfterCurrent | back to summary |
|---|---|
| public synchronized void shutdownAfterCurrent() | |
| shutdownAfterQueued | back to summary |
|---|---|
| public synchronized void shutdownAfterQueued() | |
| shutdownImmediately | back to summary |
|---|---|
| public synchronized void shutdownImmediately() | |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| TaskRunner | back to summary |
|---|---|
| protected TaskRunner() | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation. | |