Interface WorkerThread

All Superinterfaces:
AttributeStorage, Runnable
All Known Implementing Classes:
DefaultWorkerThread

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

    • UNLIMITED_TRANSACTION_TIMEOUT

      static final long UNLIMITED_TRANSACTION_TIMEOUT
      See Also:
  • Method Details

    • start

      void start()
    • stop

      void stop()
    • getName

      String getName()
    • getThread

      Thread getThread()
    • getTransactionTimeout

      long getTransactionTimeout(TimeUnit timeunit)
    • setTransactionTimeout

      void setTransactionTimeout(long timeout, TimeUnit timeunit)