Package org.glassfish.grizzly.threadpool
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 Summary
Fields Modifier and Type Field Description static long
UNLIMITED_TRANSACTION_TIMEOUT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Thread
getThread()
long
getTransactionTimeout(TimeUnit timeunit)
void
setTransactionTimeout(long timeout, TimeUnit timeunit)
void
start()
void
stop()
-
Methods inherited from interface org.glassfish.grizzly.attributes.AttributeStorage
getAttributes
-
-
-
-
Field Detail
-
UNLIMITED_TRANSACTION_TIMEOUT
static final long UNLIMITED_TRANSACTION_TIMEOUT
- See Also:
- Constant Field Values
-
-