org.glassfish.grizzly.threadpool
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
| Methods inherited from interface java.lang.Runnable |
run |
UNLIMITED_TRANSACTION_TIMEOUT
static final long UNLIMITED_TRANSACTION_TIMEOUT
- See Also:
- Constant Field Values
start
void start()
stop
void stop()
destroy
void destroy()
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)
isSelectorThread
boolean isSelectorThread()
setSelectorThread
void setSelectorThread(boolean isSelectorThread)
Copyright © 2011 Oracle Corpration. All Rights Reserved.