|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.ibm.di.server.Scheduler
public class Scheduler
This class schedules an AssemblyLine to be run, either at specified times, or as soon as the previous run finishes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
Thread.State, Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
Scheduler(RS rs,
SchedulerConfig config)
The constructor for the class. |
Method Summary | |
---|---|
Map<String,Object> |
getInfo()
Returns information about this Scheduler. |
RS |
getRS()
Returns the RS that started this Scheduler |
boolean |
isPaused()
Returns true if this Scheduler is paused. |
void |
pauseScheduler()
Pauses the Scheduler. |
void |
resumeScheduler()
Resumes the Scheduler. |
void |
run()
|
void |
shutdown()
Shuts down the Scheduler. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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 |
---|
public Scheduler(RS rs, SchedulerConfig config)
rs
- The RS this belongs to.config
- The SchedulerConfig to use.Method Detail |
---|
public void run()
run
in interface Runnable
run
in class Thread
public void shutdown()
public void pauseScheduler()
public void resumeScheduler()
public boolean isPaused()
public Map<String,Object> getInfo()
public RS getRS()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |