Class JobWorkerImpl

    • Method Detail

      • isOpen

        public boolean isOpen()
        Specified by:
        isOpen in interface JobWorker
        Returns:
        true if this registration is currently active and work items are being received for it
      • isClosed

        public boolean isClosed()
        Specified by:
        isClosed in interface JobWorker
        Returns:
        true if this registration is not open and is not in the process of opening or closing
      • close

        public void close()
        Description copied from interface: JobWorker
        Closes this registration and stops receiving new work items. Blocks until all previously received items have been handed to the worker.
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable
        Specified by:
        close in interface JobWorker