| org.cougaar.core.thread.CougaarThread
CougaarThread | public interface CougaarThread (Code) | | Defines a set of Schedulable state constants. The only states
supported right now are RUNNING (active), PENDING (queued), and
DORMANT (neither). We may eventually have a use for DISQUALIFIED
(the ThreadControlService has prevented it from running).
SUSPENDED is here for historical reasons and will almost never be
supported.
Note that these states are purely for informational purposes.
They're not used internally in any way.
|
Field Summary | |
final public static int | THREAD_DISQUALIFIED The Schedulable has been disqualified by the ThreadControlService. | final public static int | THREAD_DORMANT The Schedulable is qualified but neither running nor queued. | final public static int | THREAD_PENDING The Schedulable is currently queued. | final public static int | THREAD_RUNNING The Schedulable is currently running. | final public static int | THREAD_SUSPENDED Not supported, but would in theory mean the Schedulable has
suspended itself. |
THREAD_DISQUALIFIED | final public static int THREAD_DISQUALIFIED(Code) | | The Schedulable has been disqualified by the ThreadControlService.
|
THREAD_DORMANT | final public static int THREAD_DORMANT(Code) | | The Schedulable is qualified but neither running nor queued.
|
THREAD_PENDING | final public static int THREAD_PENDING(Code) | | The Schedulable is currently queued.
|
THREAD_RUNNING | final public static int THREAD_RUNNING(Code) | | The Schedulable is currently running.
|
THREAD_SUSPENDED | final public static int THREAD_SUSPENDED(Code) | | Not supported, but would in theory mean the Schedulable has
suspended itself.
|
|
|