com.ibm.di.server
Class Sequence
java.lang.Object
java.lang.Thread
com.ibm.di.server.Monitor
com.ibm.di.server.Sequence
- All Implemented Interfaces:
- TaskInterface, Runnable
public class Sequence
- extends Monitor
- implements TaskInterface
Field Summary |
static String |
PROPERTIES_FILE
The name of the properties file from which this component will read its
localized message strings. |
Methods inherited from class com.ibm.di.server.Monitor |
addActionListener, addThread, allThreadsStopped, fireListener, removeActionListener, removeThread, runningALs, runningSequences, setMonitorMessage, threadStarted, threadStopped |
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 |
PROPERTIES_FILE
public static final String PROPERTIES_FILE
- The name of the properties file from which this component will read its
localized message strings.
- See Also:
- Constant Field Values
Sequence
public Sequence(RS rs,
SequenceConfig sc,
Object params)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
- Returns:
- the unique identifier for this Sequence object. All the Sequence objects in
the JVM they run have a different number.
run
public void run()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
getStats
public TaskStatistics getStats()
equals
public boolean equals(Object o)
-
- Overrides:
equals
in class Object
debugBreak
public void debugBreak(Object arg0)
throws Exception
- Specified by:
debugBreak
in interface TaskInterface
- Throws:
Exception
debugMsg
public void debugMsg(Object arg0)
throws Exception
- Specified by:
debugMsg
in interface TaskInterface
- Throws:
Exception
getConfig
public Object getConfig(String name)
- Specified by:
getConfig
in interface TaskInterface
getConnector
public AssemblyLineComponent getConnector(String arg0)
- Specified by:
getConnector
in interface TaskInterface
getCurrentWork
public Entry getCurrentWork()
- Specified by:
getCurrentWork
in interface TaskInterface
getLog
public Log getLog()
- Specified by:
getLog
in interface TaskInterface
getNullBehavior
public String getNullBehavior()
- Specified by:
getNullBehavior
in interface TaskInterface
getNullBehaviorValue
public String getNullBehaviorValue()
- Specified by:
getNullBehaviorValue
in interface TaskInterface
getNullDefinition
public String getNullDefinition()
- Specified by:
getNullDefinition
in interface TaskInterface
getNullDefinitionValue
public String getNullDefinitionValue()
- Specified by:
getNullDefinitionValue
in interface TaskInterface
getParent
public RS getParent()
- Specified by:
getParent
in interface TaskInterface
getResult
public Entry getResult()
- Specified by:
getResult
in interface TaskInterface
getScriptEngine
public ScriptEngine getScriptEngine()
- Specified by:
getScriptEngine
in interface TaskInterface
getWork
public Entry getWork()
- Specified by:
getWork
in interface TaskInterface
logmsg
public void logmsg(Object msg)
- Specified by:
logmsg
in interface TaskInterface
dumpEntry
public void dumpEntry(Entry entry)
- Prints the contents of an entry to the Log.
- Parameters:
entry
- The entry object to print
shutdown
public void shutdown()
- Request controlled shutdown of this
Sequence
shutdown
public void shutdown(boolean sync)
throws AbortALException
- Request controlled shutdown of this
Sequence
,
and waits for it to stop.
- Parameters:
sync
- If true, creates a new Thread to do the waiting.
- Throws:
Exception
- If the current Thread tries to stop itself.
AbortALException