| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
org.syrup.helpers.ExecutionMonitor
Implements a simple request/response server during the execution of a Task.
| Field Summary | 
| Fields inherited from class java.lang.Thread | 
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY | 
| Method Summary | |
static java.lang.String | 
checkin(java.lang.String key)
Register a Task that will be executed by the current Worker.  | 
static void | 
checkout(java.lang.String key)
Un-registers a Task that has been executed by a Worker (or failed).  | 
static java.util.Hashtable | 
monitors()
 | 
 void | 
run()
Main processing method for the ExecutionMonitor object  | 
 java.lang.String | 
url()
Returns the URL based on the current Worker's inet address.  | 
| Methods inherited from class java.lang.Thread | 
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Method Detail | 
public static java.lang.String checkin(java.lang.String key)
                                throws java.lang.Exception
key - The Task's key to be registered by a Worker (Thread).
java.lang.Exception
public static void checkout(java.lang.String key)
                     throws java.lang.Exception
key - The Task's key to be unregistered.
java.lang.Exceptionpublic void run()
public java.lang.String url()
public static java.util.Hashtable monitors()
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||