public class ListenerThreadImpl extends Object implements ListenerThread, Work
| Constructor and Description |
|---|
ListenerThreadImpl(ORB orb,
Acceptor acceptor,
Selector selector) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
doWork()
This method denotes the actual work that is done by the work item.
|
Acceptor |
getAcceptor() |
long |
getEnqueueTime()
This methods gets the time in millis in the work item, when this
work item was enqueued in the work queue.
|
String |
getName()
This method will return the name of the work item.
|
void |
setEnqueueTime(long timeInMillis)
This methods sets the time in millis in the work item, when this
work item was enqueued in the work queue.
|
public Acceptor getAcceptor()
getAcceptor in interface ListenerThreadpublic void close()
close in interface ListenerThreadpublic void doWork()
Workpublic void setEnqueueTime(long timeInMillis)
WorksetEnqueueTime in interface Workpublic long getEnqueueTime()
WorkgetEnqueueTime in interface WorkCopyright © 2018 JBoss by Red Hat. All rights reserved.