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
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
String getName()
getThread
Thread getThread()
getTransactionTimeout
long getTransactionTimeout(TimeUnit timeunit)
setTransactionTimeout
void setTransactionTimeout(long timeout,
TimeUnit timeunit)
isSelectorThread
boolean isSelectorThread()
setSelectorThread
void setSelectorThread(boolean isSelectorThread)
Copyright © 2012 Oracle Corporation. All Rights Reserved.