public class ReaderThreadImpl extends Object implements ReaderThread, Work
| Constructor and Description |
|---|
ReaderThreadImpl(ORB orb,
Connection connection,
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.
|
protected void |
dprint(String msg,
Throwable t) |
Connection |
getConnection() |
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 ReaderThreadImpl(ORB orb, Connection connection, Selector selector)
public Connection getConnection()
getConnection in interface ReaderThreadpublic void close()
close in interface ReaderThreadpublic void doWork()
Workpublic void setEnqueueTime(long timeInMillis)
WorksetEnqueueTime in interface Workpublic long getEnqueueTime()
WorkgetEnqueueTime in interface Workpublic String getName()
WorkCopyright © 2018 JBoss by Red Hat. All rights reserved.