| Modifier and Type | Field and Description |
|---|---|
| private final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(IWorker<T>
the object to be compared. o)Implements java. |
| public int | |
| public List | |
| public long | |
| public long | |
| public void |
| threadId | back to summary |
|---|---|
| private final long threadId | |
| PhoneyWorker | back to summary |
|---|---|
| public PhoneyWorker(long threadId) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(IWorker<T> o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |
| getPriority | back to summary |
|---|---|
| public int getPriority() Implements org.
| |
| getTasks | back to summary |
|---|---|
| public List Implements org.
| |
| getThreadIdToRunOn | back to summary |
|---|---|
| public long getThreadIdToRunOn() Overrides default org.
| |
| getTimeOut | back to summary |
|---|---|
| public long getTimeOut() Implements org.
| |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |