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 ListenerThread
public void close()
close
in interface ListenerThread
public void doWork()
Work
public void setEnqueueTime(long timeInMillis)
Work
setEnqueueTime
in interface Work
public long getEnqueueTime()
Work
getEnqueueTime
in interface Work
Copyright © 2019 JBoss by Red Hat. All rights reserved.