java.lang.Object
org.hsqldb.lib.HsqlTaskQueue
Provides very simple queued execution of Runnable objects in a background
thread. The underlying queue is an HsqlDeque instance, an array-based
circular queue implementation with automatic capacity expansion.
- Since:
- 1.7.2
- Author:
- Campbell Burnet (campbell-burnet@users dot sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HsqlTaskQueue
public HsqlTaskQueue()
-
-
Method Details
-
getTaskRunnerThread
-
isShutdown
public boolean isShutdown() -
restart
public void restart() -
execute
- Throws:
RuntimeException
-
shutdownAfterQueued
public void shutdownAfterQueued() -
shutdownAfterCurrent
public void shutdownAfterCurrent() -
shutdownImmediately
public void shutdownImmediately()
-