public abstract class SubJobCollector extends SPI
Implement the SubJobCollector SPI, by extending this class and implementing the collect method.
Configure this SPI with the following declaration in the xd.spi.properties file:
spi.parallel.status.SubJobCollector=<fully-qualified implementation class name>
<WAS install root>/properties. E.g. /WebSphere/AppServer/properties
<WAS install root>/lib/classes. E.g. /WebSphere/AppServer/lib/classes
You are responsible for creating the classes directory if it does not already exist.
Constructor and Description |
---|
SubJobCollector() |
Modifier and Type | Method and Description |
---|---|
abstract java.io.Externalizable |
collect(java.lang.String parallelJobName,
java.lang.String logicalTXID,
java.lang.String subJobID)
Collects data for the specified subjob.
|
java.lang.String |
getName()
Returns the name of this SPI instance.
|
compareTo, getInvocationOrder, setInvocationOrder, toString
public abstract java.io.Externalizable collect(java.lang.String parallelJobName, java.lang.String logicalTXID, java.lang.String subJobID)
parallelJobName
- specifies name of the current parallel job.
This name is the same each time you submit the same parallel job.logicalTXID
- specifies a unique identifier for the current parallel job instance.
This identifier defines a logical unit of work in which all subjobs for the current parallel job execute.subJobID
- specifies the unique identifier of a subjob belonging to the current parallel job.SubJobAnalyzer