public interface WorkerThread extends Runnable, AttributeStorage
Modifier and Type | Field and Description |
---|---|
static long |
UNLIMITED_TRANSACTION_TIMEOUT |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
String |
getName() |
Thread |
getThread() |
long |
getTransactionTimeout(TimeUnit timeunit) |
boolean |
isSelectorThread() |
void |
setSelectorThread(boolean isSelectorThread) |
void |
setTransactionTimeout(long timeout,
TimeUnit timeunit) |
void |
start() |
void |
stop() |
getAttributes
static final long UNLIMITED_TRANSACTION_TIMEOUT
void start()
void stop()
void destroy()
String getName()
Thread getThread()
long getTransactionTimeout(TimeUnit timeunit)
void setTransactionTimeout(long timeout, TimeUnit timeunit)
boolean isSelectorThread()
void setSelectorThread(boolean isSelectorThread)
Copyright © 2013 Oracle Corporation. All Rights Reserved.