|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.model.JobStatistics
This object is just a container for execution statistics that are collected about jobs created from the same job definition. It is identified by its JobDefinition, and acts as a logical extension of the JobDefinition class.
JobDefinition
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
JobStatistics()
Creates an empty JobStatistics object. |
|
JobStatistics(JobDefinition definition)
Creates a JobStatistics object that refers to the specified job definition. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this JobStatistics object are equal to those of the given one. |
int |
getAbortedRuns()
Returns the total number of aborted job runs. |
JobDefinitionHeader |
getHeader()
Returns the header of the job definition to which this JobStatistics object refers. |
Identifier |
getId()
Returns the identifier of the job definition to which this JobStatistics object refers. |
JobDefinition |
getJobDefinition()
Returns the job definition to which this JobStatistics object refers. |
Identifier |
getJobDefinitionId()
Returns the identifier of the job definition to which this JobStatistics object refers. |
JobDefinitionKey |
getJobDefinitionKey()
Returns the key of the job definition to which this JobStatistics object refers. |
JobDefinitionKey |
getKey()
Returns the key of the job definition to which this JobStatistics object refers. |
long |
getLastCPUTime()
Returns the CPU time of the last job run. |
long |
getLastElapsedTime()
Returns the elapsed time of the last job run. |
java.util.Date |
getLastRunDate()
Returns the date and time of the last job run. |
LockData |
getLockData()
Returns the lock data of the job definition to which this JobStatistics object refers. |
long |
getMaxCPUTime()
Returns the maximum CPU time of all job runs. |
long |
getMaxElapsedTime()
Returns the maximum elapsed time of all job runs. |
java.util.Date |
getMaxRunDate()
Returns the maximum job run date and time. |
long |
getMinCPUTime()
Returns the minimum CPU time of all job runs. |
long |
getMinElapsedTime()
Returns the minimum elapsed time of all job runs. |
java.util.Date |
getMinRunDate()
Returns the minimum job run date and time. |
ModifyData |
getModifyData()
Returns the modification data of the job definition to which this JobStatistics object refers. |
java.lang.String |
getName()
Returns the name of the job definition to which this JobStatistics object refers. |
TWSHeader |
getObjectHeader()
Returns the header of the job definition to which this JobStatistics object refers. |
TWSKey |
getObjectKey()
Returns the key of the job definition to which this JobStatistics object refers. |
int |
getSuccessfulRuns()
Returns the total number of successful job runs. |
long |
getTotalCPUTime()
Returns the total CPU time of all job runs. |
long |
getTotalElapsedTime()
Returns the total elapsed time of all job runs. |
int |
hashCode()
Returns a hash code for this JobStatistics object. |
void |
setAbortedRuns(int value)
Sets the total number of aborted job runs. |
void |
setHeader(JobDefinitionHeader jobDefinitionHeader)
Sets the header of the job definition to which this JobStatistics object refers. |
void |
setId(Identifier identifier)
Sets the identifier of the job definition to which this JobStatistics object refers. |
void |
setJobDefinition(JobDefinition definition)
Sets the job definition to which this JobStatistics object refers. |
void |
setJobDefinitionId(Identifier identifier)
Sets the identifier of the job definition to which this JobStatistics object refers. |
void |
setJobDefinitionKey(JobDefinitionKey key)
Sets the key of the job definition to which this JobStatistics object refers. |
void |
setKey(JobDefinitionKey key)
Sets the key of the job definition to which this JobStatistics object refers. |
void |
setLastCPUTime(long value)
Sets the CPU time of the last job run. |
void |
setLastElapsedTime(long value)
Sets the elapsed time of the last job run. |
void |
setLastRunDate(java.util.Date value)
Sets the date and time of the last job run. |
void |
setMaxCPUTime(long value)
Sets the maximum CPU time of all job runs. |
void |
setMaxElapsedTime(long value)
Sets the maximum elapsed time of all job runs. |
void |
setMaxRunDate(java.util.Date value)
Sets the maximum job run date and time. |
void |
setMinCPUTime(long value)
Sets the minimum CPU time of all job runs. |
void |
setMinElapsedTime(long value)
Sets the minimum elapsed time of all job runs. |
void |
setMinRunDate(java.util.Date value)
Sets the minimum job run date and time. |
void |
setSuccessfulRuns(int value)
Sets the total number of successful job runs. |
void |
setTotalCPUTime(long value)
Sets the total CPU time of all job runs. |
void |
setTotalElapsedTime(long value)
Sets the total elapsed time of all job runs. |
java.lang.String |
toString()
Returns a string representation of this JobStatistics object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public JobStatistics()
public JobStatistics(JobDefinition definition)
definition
- The job definition to which this JobStatistics object refers.Method Detail |
public Identifier getId()
getId
in interface TWSObject
public java.lang.String getName()
getName
in interface TWSObject
public TWSKey getObjectKey()
getObjectKey
in interface TWSObject
public TWSHeader getObjectHeader()
getObjectHeader
in interface TWSObject
public JobDefinitionKey getKey()
public JobDefinitionHeader getHeader()
public ModifyData getModifyData()
getModifyData
in interface TWSObject
public LockData getLockData()
getLockData
in interface TWSObject
public Identifier getJobDefinitionId()
public JobDefinitionKey getJobDefinitionKey()
public JobDefinition getJobDefinition()
public int getAbortedRuns()
public int getSuccessfulRuns()
public java.util.Date getLastRunDate()
public long getLastCPUTime()
public long getLastElapsedTime()
public java.util.Date getMinRunDate()
public long getMinCPUTime()
public long getMinElapsedTime()
public java.util.Date getMaxRunDate()
public long getMaxCPUTime()
public long getMaxElapsedTime()
public long getTotalCPUTime()
public long getTotalElapsedTime()
public void setId(Identifier identifier)
identifier
- The identifier of the job definition to which this JobStatistics object refers.public void setKey(JobDefinitionKey key)
key
- The key of the job definition to which this JobStatistics object refers.public void setHeader(JobDefinitionHeader jobDefinitionHeader)
jobDefinitionHeader
- The header of the job definition to which this JobStatistics object refers.public void setJobDefinitionId(Identifier identifier)
identifier
- The identifier of the job definition to which this JobStatistics object refers.public void setJobDefinitionKey(JobDefinitionKey key)
key
- The key of the job definition to which this JobStatistics object refers.public void setJobDefinition(JobDefinition definition)
definition
- The job definition to which this JobStatistics object refers.public void setAbortedRuns(int value)
value
- The total number of aborted job runs.public void setSuccessfulRuns(int value)
value
- The total number of successful job runs.public void setLastRunDate(java.util.Date value)
value
- The date and time of the last job run.public void setLastCPUTime(long value)
value
- The CPU time of the last job run.public void setLastElapsedTime(long value)
value
- The elapsed time of the last job run.public void setMinRunDate(java.util.Date value)
value
- The minimum job run date and time.public void setMinCPUTime(long value)
value
- The minimum CPU time of all job runs.public void setMinElapsedTime(long value)
value
- The minimum elapsed time of all job runs.public void setMaxRunDate(java.util.Date value)
value
- The maximum job run date and time.public void setMaxCPUTime(long value)
value
- The maximum CPU time of all job runs.public void setMaxElapsedTime(long value)
value
- The maximum elapsed time of all job runs.public void setTotalCPUTime(long value)
value
- The total CPU time of all job runs.public void setTotalElapsedTime(long value)
value
- The total elapsed time of all job runs.public boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
public java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |