| java.lang.Object com.knowgate.scheduler.WorkerThreadCallback
WorkerThreadCallback | abstract public class WorkerThreadCallback (Code) | | Get information about what is happening inside each WorkerThread
This an abstract base class than must be inherited in order to provide the
implementation for the call() method.
author: Sergio Montoro Ten version: 1.0 |
WT_ATOMCONSUMER_NOMORE | final public static int WT_ATOMCONSUMER_NOMORE(Code) | | AtomConsumer for thread found no more pending Atoms
A reference to the AtomConsumer will be in the 5th parameter of call() method
|
WT_ATOM_CONSUME | final public static int WT_ATOM_CONSUME(Code) | | Thread consumed an Atom.
Called after Atom is consumed.
A reference to the Atom will be in the 5th parameter of call() method
|
WT_ATOM_GET | final public static int WT_ATOM_GET(Code) | | Thread just got an Atom for its inmediate consumption.
Called before Atom is consumed.
A reference to the Atom will be in the 5th parameter of call() method
|
WT_EXCEPTION | final public static int WT_EXCEPTION(Code) | | Thread throwed and Exception
The throwed Exception will be in the 4th parameter of call() method
|
WT_JOB_FINISH | final public static int WT_JOB_FINISH(Code) | | Thread finished a Job execution
A reference to the finished Job will be in the 5th parameter of call() method
|
WT_JOB_INSTANTIATE | final public static int WT_JOB_INSTANTIATE(Code) | | Thread instantiated a Job subclass
A reference to the instantiated Job will be in the 5th parameter of call() method
|
WorkerThreadCallback | public WorkerThreadCallback(String sCallbackName)(Code) | | Parameters: sCallbackName - Each callback instance must have a unique name |
call | abstract public void call(String sThreadId, int iOpCode, String sMessage, Exception oXcpt, Object oParam)(Code) | | Provide information about thread execution milestones
Parameters: sThreadId - String identifying the caller WorkerThread Parameters: iOpCode - Operation code (see static constants) Parameters: sMessage - Descriptive message Parameters: oXcpt - Exception thrown by WorkerThread. This parameter is always null unless iOpCode is WT_EXCEPTION Parameters: oParam - Object related to operation. Its class depends on the operation performed.
|
|
|