sofya.ed.semantic
Class EventListener.ThreadStatus

java.lang.Object
  extended by sofya.ed.semantic.EventListener.ThreadStatus
Enclosing interface:
EventListener

public static class EventListener.ThreadStatus
extends java.lang.Object

Type-safe enumeration for indicating the status of a thread on which an observable event has occurred.


Field Summary
static EventListener.ThreadStatus MONITOR
          Thread is waiting to acquire a monitor.
static EventListener.ThreadStatus NOT_STARTED
          Thread has been created but not yet started.
static EventListener.ThreadStatus RUNNING
          Thread is running.
static EventListener.ThreadStatus SLEEPING
          Thread is sleeping.
static EventListener.ThreadStatus UNKNOWN
          JVM is unabled to determine or report the thread status.
static EventListener.ThreadStatus WAIT
          Thread is waiting, as by a call to Object.wait().
static EventListener.ThreadStatus ZOMBIE
          Thread is waiting to be disposed.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MONITOR

public static final EventListener.ThreadStatus MONITOR
Thread is waiting to acquire a monitor.


NOT_STARTED

public static final EventListener.ThreadStatus NOT_STARTED
Thread has been created but not yet started.


RUNNING

public static final EventListener.ThreadStatus RUNNING
Thread is running.


SLEEPING

public static final EventListener.ThreadStatus SLEEPING
Thread is sleeping.


UNKNOWN

public static final EventListener.ThreadStatus UNKNOWN
JVM is unabled to determine or report the thread status.


WAIT

public static final EventListener.ThreadStatus WAIT
Thread is waiting, as by a call to Object.wait().


ZOMBIE

public static final EventListener.ThreadStatus ZOMBIE
Thread is waiting to be disposed.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object