Interface ThreadPool

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  ThreadPool.PoolPolicy
      The policy for dealing with thread pools.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void shutdown()
      Shuts down all worker threads, but waits for any queued queries to be processed.
      void shutdownNow()
      Shuts down all worker threads, and attempts to abort any query processing currently taking place.
    • Method Detail

      • shutdown

        void shutdown()
        Shuts down all worker threads, but waits for any queued queries to be processed.
        See Also:
        ExecutorService.shutdown()
      • shutdownNow

        void shutdownNow()
        Shuts down all worker threads, and attempts to abort any query processing currently taking place.
        See Also:
        ExecutorService.shutdownNow()