| java.lang.Object java.lang.Thread com.knowgate.scheduler.SingleThreadExecutor
SingleThreadExecutor | public class SingleThreadExecutor extends Thread (Code) | | Single Thread Scheduler Executor
SingleThreadExecutor is a class that processes jobs and atoms in a simple way,
unlike SchedulerDaemon witch is based on an AtomQueue and a WorkerThreadPool,
SingleThreadExecutor uses directly the database for tracking execution progress
for a single thread.
author: Sergio Montoro Ten version: 1.0 |
halt | public void halt()(Code) | | Halt thread execution commiting all operations in course before stopping
If a thread is dead-locked by any reason halting it will not cause any effect.
halt() method only sends a signals to the each WokerThread telling it that must
finish pending operations and stop.
|
unregisterCallback | public boolean unregisterCallback(String sCallbackName)(Code) | | Unregister a thread callback object
Parameters: sCallbackName - Name of callback to be unregistered true if a callback with such name was found and unregistered,false otherwise |
|
|