au.gov.tas.dpiwe.mr.util
Class Chain
java.lang.Object
au.gov.tas.dpiwe.mr.util.Messenger
au.gov.tas.dpiwe.mr.util.Batch
au.gov.tas.dpiwe.mr.util.Chain
- All Implemented Interfaces:
- Runnable
public class Chain
- extends Batch
A chain is a series of jobs which are only ever executed in series.
- Since:
- Mr Architecture 1.2
- Version:
- 1.0.0.4
- Author:
- Kade Hansson
| Fields inherited from class au.gov.tas.dpiwe.mr.util.Batch |
activeChains, Batch_PollingFrequency, blockedJobList, blockedJobs, chains, chainTable, created, jobs, lastJob, name, scheduledChains, waveCollection, waveCount |
| Methods inherited from class au.gov.tas.dpiwe.mr.util.Batch |
add, add, add, addBlockedJob, addLast, addLast, addLast, getChain, getName, getThreadGroup, getWave, getWaveCount, haveAllRemainingJobsNowBlocked, incrementChainActiveCount, incrementChainScheduledCount, olderThan, waitForNextWave |
| Methods inherited from class au.gov.tas.dpiwe.mr.util.Messenger |
debugEmptyMessage, debugEmptyMessage, debugMessage, debugMessage, debugMessage, debugMessageFirstPart, debugMessageFirstPart, debugMessageLastPart, debugMessageLastPart, debugMessagePart, debugMessagePart, debugStackTrace, debugStackTrace2, emptyMessage, emptyMessage, emptyMessage, emptyMessage, getMessageLevel, isTweenMessage, message, message, message, message, message, message, messageFirstPart, messageFirstPart, messageFirstPart, messageFirstPart, messageLastPart, messageLastPart, messageLastPart, messageLastPart, messagePart, messagePart, messagePart, messagePart, messagePart, messagePart, prettyException, queryReport, setConsoleOutput, setConsoleOutput, setErrorOutput, setErrorOutput, setMessageLevel, setOutput, stackTrace, stackTrace2, success, success |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jobsIterator
protected Iterator jobsIterator
chainCompleted
protected volatile boolean chainCompleted
parentBatch
protected Batch parentBatch
Chain
public Chain(String name)
Chain
public Chain(String name,
Batch parentBatch)
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Batch
hasCompleted
public boolean hasCompleted()