|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Task.State>
rcf.core.concurrent.schedule.Task.State
public static enum Task.State
TODO: Javadoc TODO: State Transition Diagram TODO: Make the next state entries into hyperlinks
TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString
| Enum Constant Summary | |
|---|---|
Aborted
TODO: Javadoc Aborted, like Committed and unlike Interrupted, means the task finished and the data structure invariants are established Unlike Committed, Aborted means that task did not affect these data structures. |
|
Aborting
TODO: Javadoc The task was asked to abort, but has not yet finished acting on this request. |
|
Committed
TODO: Javadoc Task has finished, and it's results have been fully written to the appropriate locations. |
|
Committing
TODO: Javadoc Task was finished, and a commit has been issued, but is not yet completed. |
|
Constructed
TODO: Javadoc The task has just been constructed. |
|
Finished
TODO: Javadoc The task has finished, but its results are being held in limbo. |
|
Interrupted
TODO: Javadoc Task was interrupted as some point during it's execution. |
|
Interrupting
TODO: Javadoc An interrupt has been taken, but has not yet been acted upon. |
|
Runnable
TODO: Javadoc The task is ready to be run. |
|
Running
TODO: Javadoc The task is currently running. |
|
Scheduled
TODO: Javadoc The task has been constructed, and scheduled, but is not ready to be run. |
|
| Field Summary | |
|---|---|
protected SoftReference<rcf.core.util.filter.Filter<Task>> |
filter
TODO: Javadoc A soft reference to filter for this state. |
boolean |
isActive
TODO: Javadoc |
boolean |
isTerminal
TODO: Javadoc |
Task.State |
terminal
TODO: Javadoc |
| Method Summary | ||
|---|---|---|
|
filter()
TODO: Javadoc |
|
static Task.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
|
static Task.State[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
|
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Task.State Constructed
public static final Task.State Scheduled
public static final Task.State Runnable
public static final Task.State Running
public static final Task.State Finished
public static final Task.State Interrupted
public static final Task.State Interrupting
public static final Task.State Committed
public static final Task.State Committing
public static final Task.State Aborted
public static final Task.State Aborting
| Field Detail |
|---|
public final boolean isTerminal
public final Task.State terminal
public final boolean isActive
protected SoftReference<rcf.core.util.filter.Filter<Task>> filter
| Method Detail |
|---|
public static final Task.State[] values()
for(Task.State c : Task.State.values())
System.out.println(c);
public static Task.State valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic final <X extends Task> rcf.core.util.filter.Filter<X> filter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||