private class GraphThreadPoolExecutor.PhoneyWorker extends java.lang.Object implements IWorker<T>
Modifier and Type | Field and Description |
---|---|
private long |
threadId |
Constructor and Description |
---|
PhoneyWorker(long threadId) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IWorker<T> o) |
int |
getPriority() |
java.util.List<T> |
getTasks() |
long |
getThreadIdToRunOn() |
long |
getTimeOut() |
void |
run() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
completed, getCurrentThreadId, setThreadIdToRunOn
public java.util.List<T> getTasks()
public long getTimeOut()
getTimeOut
in interface IWorker<T>
public int getPriority()
getPriority
in interface IWorker<T>
public void run()
run
in interface java.lang.Runnable
public long getThreadIdToRunOn()
getThreadIdToRunOn
in interface IWorker<T>