ti.chimera.registry
Class Node.NonSwingWorker

java.lang.Object
  extended byjava.lang.Thread
      extended byti.pub.WorkerThread
          extended byti.chimera.registry.Node.NonSwingWorker
All Implemented Interfaces:
ti.chimera.registry.Node.Worker, java.lang.Runnable
Enclosing class:
Node

public static class Node.NonSwingWorker
extends WorkerThread
implements ti.chimera.registry.Node.Worker


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
 void invokeLater(java.lang.Runnable r)
          Enqueue a work unit (a runnable) to be invoked from the context of the worker thread
 void run(java.lang.Runnable r)
           
 void unhandledException(java.lang.Throwable e)
          Called when unhandled errors occur.
 void watchdogTimeoutExceeded()
          If using the watchdog timer, this is called from some other thread context when the timeout set for executing a runnable has been exceeded.
 
Methods inherited from class ti.pub.WorkerThread
run, runNext
 
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

run

public void run(java.lang.Runnable r)
Overrides:
run in class WorkerThread

unhandledException

public void unhandledException(java.lang.Throwable e)
Description copied from class: WorkerThread
Called when unhandled errors occur. Can be overriden.

Overrides:
unhandledException in class WorkerThread

watchdogTimeoutExceeded

public void watchdogTimeoutExceeded()
Description copied from class: WorkerThread
If using the watchdog timer, this is called from some other thread context when the timeout set for executing a runnable has been exceeded.

Overrides:
watchdogTimeoutExceeded in class WorkerThread

invokeLater

public void invokeLater(java.lang.Runnable r)