sam.toolkit
Class Workshop.Worker

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--sam.toolkit.Workshop.Worker
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
Workshop

protected class Workshop.Worker
extends java.lang.Thread

Internal class for really running tasks.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
protected Workshop.Worker()
           
 
Method Summary
 void run()
           
protected  void startNow(java.lang.Runnable task)
           
 
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
 

Constructor Detail

Workshop.Worker

protected Workshop.Worker()
Method Detail

startNow

protected void startNow(java.lang.Runnable task)
                 throws Workshop.IllegalWorkerStateException
Workshop.IllegalWorkerStateException

run

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