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