org.globus.cog.karajan.workflow.events
Class EventWorker

java.lang.Object
  extended by java.lang.Thread
      extended by org.globus.cog.karajan.workflow.events.EventWorker
All Implemented Interfaces:
Runnable

public final class EventWorker
extends Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
static long eventsDispatched
           
static int MAXID
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
EventWorker(WorkerManager manager)
           
 
Method Summary
 void dispatch(EventTargetPair pair)
           
 int getID()
           
 long getStart()
           
 boolean isMarkedForRemoval()
           
 void markForRemoval()
           
 void run()
           
 void shutdown()
           
 String toString()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAXID

public static final int MAXID
See Also:
Constant Field Values

eventsDispatched

public static volatile long eventsDispatched
Constructor Detail

EventWorker

public EventWorker(WorkerManager manager)
Method Detail

dispatch

public void dispatch(EventTargetPair pair)

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

getID

public int getID()

getStart

public long getStart()

markForRemoval

public void markForRemoval()

isMarkedForRemoval

public boolean isMarkedForRemoval()

shutdown

public void shutdown()

toString

public String toString()
Overrides:
toString in class Thread