Package 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,java.lang.Runnable
public class Sequence extends Monitor implements TaskInterface
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTIES_FILEThe name of the properties file from which this component will read its localized message strings.
-
Constructor Summary
Constructors Constructor Description Sequence(RS rs, SequenceConfig sc, java.lang.Object params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebugBreak(java.lang.Object arg0)voiddebugMsg(java.lang.Object arg0)voiddumpEntry(Entry entry)Prints the contents of an entry to the Log.booleanequals(java.lang.Object o)java.lang.ObjectgetConfig(java.lang.String name)AssemblyLineComponentgetConnector(java.lang.String arg0)EntrygetCurrentWork()LoggetLog()java.lang.StringgetNullBehavior()java.lang.StringgetNullBehaviorValue()java.lang.StringgetNullDefinition()java.lang.StringgetNullDefinitionValue()RSgetParent()EntrygetResult()ScriptEnginegetScriptEngine()TaskStatisticsgetStats()EntrygetWork()inthashCode()voidlogmsg(java.lang.Object msg)voidrun()voidshutdown()Request controlled shutdown of thisSequencevoidshutdown(boolean sync)Request controlled shutdown of thisSequence, and waits for it to stop.-
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, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
PROPERTIES_FILE
public static final java.lang.String PROPERTIES_FILE
The name of the properties file from which this component will read its localized message strings.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Sequence
public Sequence(RS rs, SequenceConfig sc, java.lang.Object params)
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.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:
runin interfacejava.lang.Runnable- Overrides:
runin classjava.lang.Thread
-
getStats
public TaskStatistics getStats()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
debugBreak
public void debugBreak(java.lang.Object arg0) throws java.lang.Exception- Specified by:
debugBreakin interfaceTaskInterface- Throws:
java.lang.Exception
-
debugMsg
public void debugMsg(java.lang.Object arg0) throws java.lang.Exception- Specified by:
debugMsgin interfaceTaskInterface- Throws:
java.lang.Exception
-
getConfig
public java.lang.Object getConfig(java.lang.String name)
- Specified by:
getConfigin interfaceTaskInterface
-
getConnector
public AssemblyLineComponent getConnector(java.lang.String arg0)
- Specified by:
getConnectorin interfaceTaskInterface
-
getCurrentWork
public Entry getCurrentWork()
- Specified by:
getCurrentWorkin interfaceTaskInterface
-
getLog
public Log getLog()
- Specified by:
getLogin interfaceTaskInterface
-
getNullBehavior
public java.lang.String getNullBehavior()
- Specified by:
getNullBehaviorin interfaceTaskInterface
-
getNullBehaviorValue
public java.lang.String getNullBehaviorValue()
- Specified by:
getNullBehaviorValuein interfaceTaskInterface
-
getNullDefinition
public java.lang.String getNullDefinition()
- Specified by:
getNullDefinitionin interfaceTaskInterface
-
getNullDefinitionValue
public java.lang.String getNullDefinitionValue()
- Specified by:
getNullDefinitionValuein interfaceTaskInterface
-
getParent
public RS getParent()
- Specified by:
getParentin interfaceTaskInterface
-
getResult
public Entry getResult()
- Specified by:
getResultin interfaceTaskInterface
-
getScriptEngine
public ScriptEngine getScriptEngine()
- Specified by:
getScriptEnginein interfaceTaskInterface
-
getWork
public Entry getWork()
- Specified by:
getWorkin interfaceTaskInterface
-
logmsg
public void logmsg(java.lang.Object msg)
- Specified by:
logmsgin interfaceTaskInterface
-
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 thisSequence
-
shutdown
public void shutdown(boolean sync) throws AbortALExceptionRequest controlled shutdown of thisSequence, and waits for it to stop.- Parameters:
sync- If true, creates a new Thread to do the waiting.- Throws:
java.lang.Exception- If the current Thread tries to stop itself.AbortALException
-
-