Methods Summary |
---|
public void | doWork()This method is executed by thread pool as the basic work operation.
coordinator.preInvoke();
if (coordinator.proceed()) {
try {
work.run();
} catch (Throwable t) {
coordinator.setException(t);
}
}
coordinator.postInvoke();
|
public long | getEnqueueTime()Retrieves the time at which this work is enqueued
return nqTime;
|
public java.lang.String | getName()Retrieves the name of the work.
return "Resource adapter work";
|
public void | setEnqueueTime(long tme)Time at which this work is enqueued.
this.nqTime = tme;
|
public java.lang.String | toString()Retrieves the string representation of work.
return (work.toString());
|