public interface IWorker<T> extends java.lang.Runnable, java.lang.Comparable<IWorker<T>>
GraphThreadPoolExecutor
to execute tasksModifier and Type | Method and Description |
---|---|
default boolean |
completed() |
default long |
getCurrentThreadId() |
int |
getPriority() |
java.util.List<T> |
getTasks() |
default long |
getThreadIdToRunOn() |
long |
getTimeOut() |
default void |
setThreadIdToRunOn(long threadIdToRunOn) |
java.util.List<T> getTasks()
long getTimeOut()
int getPriority()
default long getCurrentThreadId()
default void setThreadIdToRunOn(long threadIdToRunOn)
default long getThreadIdToRunOn()
default boolean completed()