Interface WorkerThread

  • All Superinterfaces:
    AttributeStorage, java.lang.Runnable
    All Known Implementing Classes:
    DefaultWorkerThread

    public interface WorkerThread
    extends java.lang.Runnable, AttributeStorage
    Interface, which Grizzly thread pool threads should implement.
    Author:
    Alexey Stashok
    • Field Detail

      • UNLIMITED_TRANSACTION_TIMEOUT

        static final long UNLIMITED_TRANSACTION_TIMEOUT
        See Also:
        Constant Field Values
    • Method Detail

      • start

        void start()
      • stop

        void stop()
      • getName

        java.lang.String getName()
      • getThread

        java.lang.Thread getThread()
      • getTransactionTimeout

        long getTransactionTimeout​(java.util.concurrent.TimeUnit timeunit)
      • setTransactionTimeout

        void setTransactionTimeout​(long timeout,
                                   java.util.concurrent.TimeUnit timeunit)