Package conseq4j

Interface Terminable

    • Method Detail

      • shutdown

        void shutdown()
        Nonblocking, initiates an orderly shutdown of all managed thread resources. Previously submitted tasks are executed, but no new tasks will be accepted. Invocation has no additional effect if already shut down.
      • isTerminated

        boolean isTerminated()
        Nonblocking
        Returns:
        true if all tasks of all managed executors have completed following shut down. Note that isTerminated is never true unless shutdown was called first.