Package com.sun.corba.se.impl.transport
Class ReaderThreadImpl
java.lang.Object
com.sun.corba.se.impl.transport.ReaderThreadImpl
- All Implemented Interfaces:
ReaderThread,Work
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voiddoWork()This method denotes the actual work that is done by the work item.protected voidlongThis methods gets the time in millis in the work item, when this work item was enqueued in the work queue.getName()This method will return the name of the work item.voidsetEnqueueTime(long timeInMillis) This methods sets the time in millis in the work item, when this work item was enqueued in the work queue.
-
Constructor Details
-
ReaderThreadImpl
-
-
Method Details
-
getConnection
- Specified by:
getConnectionin interfaceReaderThread
-
close
public void close()- Specified by:
closein interfaceReaderThread
-
doWork
public void doWork()Description copied from interface:WorkThis method denotes the actual work that is done by the work item. -
setEnqueueTime
public void setEnqueueTime(long timeInMillis) Description copied from interface:WorkThis methods sets the time in millis in the work item, when this work item was enqueued in the work queue.- Specified by:
setEnqueueTimein interfaceWork
-
getEnqueueTime
public long getEnqueueTime()Description copied from interface:WorkThis methods gets the time in millis in the work item, when this work item was enqueued in the work queue.- Specified by:
getEnqueueTimein interfaceWork
-
getName
Description copied from interface:WorkThis method will return the name of the work item. -
dprint
-