Module org.hsqldb

Class HsqlTaskQueue


  • public class HsqlTaskQueue
    extends java.lang.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 Detail

      • HsqlTaskQueue

        public HsqlTaskQueue()
    • Method Detail

      • getTaskRunnerThread

        public java.lang.Thread getTaskRunnerThread()
      • isShutdown

        public boolean isShutdown()
      • restart

        public void restart()
      • execute

        public void execute​(java.lang.Runnable command)
                     throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • shutdownAfterQueued

        public void shutdownAfterQueued()
      • shutdownAfterCurrent

        public void shutdownAfterCurrent()
      • shutdownImmediately

        public void shutdownImmediately()