|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.grid.spi.SPI
com.ibm.wsspi.batch.parallel.status.SubJobCollector
public abstract class SubJobCollector
SubJobCollector is the abstract base class for the ParallelJobManager SubJobCollector System Programming Interface (SPI). Use the SubJobCollector to collect data about a specific subjob. The SubJobCollector is invoked immediately before a checkpoint is taken by a subjob instance.
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>
Notes:
<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 Summary | |
---|---|
SubJobCollector()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.ibm.websphere.grid.spi.SPI |
---|
compareTo, getInvocationOrder, setInvocationOrder, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SubJobCollector()
Method Detail |
---|
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
public java.lang.String getName()
SPI
getName
in class SPI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |