Module org.hsqldb

Class HsqlTaskQueue

java.lang.Object
org.hsqldb.lib.HsqlTaskQueue

public class HsqlTaskQueue extends Object
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 Details

    • HsqlTaskQueue

      public HsqlTaskQueue()
  • Method Details

    • getTaskRunnerThread

      public Thread getTaskRunnerThread()
    • isShutdown

      public boolean isShutdown()
    • restart

      public void restart()
    • execute

      public void execute(Runnable command) throws RuntimeException
      Throws:
      RuntimeException
    • shutdownAfterQueued

      public void shutdownAfterQueued()
    • shutdownAfterCurrent

      public void shutdownAfterCurrent()
    • shutdownImmediately

      public void shutdownImmediately()