public interface AtomicTask extends java.lang.Runnable, java.lang.Comparable<AtomicTask>
Modifier and Type | Method and Description |
---|---|
void |
cancelTask()
Cancels this current task
|
int |
getPriority()
Gets the priority of this task
|
void |
setPriority(int priority)
Sets the priority of this task
|