public interface Work
Modifier and Type | Method and Description |
---|---|
void |
doWork()
This method denotes the actual work that is done by the work item.
|
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.
|
void doWork()
void setEnqueueTime(long timeInMillis)
long getEnqueueTime()
String getName()
Copyright © 2016 JBoss by Red Hat. All rights reserved.