Package com.ibm.di.server
Class JobStatus
- java.lang.Object
-
- com.ibm.di.server.JobStatus
-
public class JobStatus extends java.lang.Object
This class marks the moment when an object of its is created. Also monitors for the end time an exceptions that may occur.
-
-
Field Summary
Fields Modifier and Type Field Description long
end
The end time of the JobStatus object (in milliseconds).java.lang.Exception
exception
The exception attribute of the JobStatus object (in milliseconds).java.lang.String
name
The name attribute of the JobStatus object.long
start
The start time of the JobStatus object (in milliseconds).java.lang.Object
thread
The thread attribute of the JobStatus object.java.lang.String
threadName
The thread name attribute of the JobStatus object.
-
Constructor Summary
Constructors Constructor Description JobStatus(java.lang.String name, java.lang.Object thread)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
end()
Ends the JobStatus.java.lang.String
endStatus()
Returns the ending status of the job.
-
-
-
Field Detail
-
name
public java.lang.String name
The name attribute of the JobStatus object.
-
thread
public java.lang.Object thread
The thread attribute of the JobStatus object.
-
threadName
public java.lang.String threadName
The thread name attribute of the JobStatus object.
-
start
public long start
The start time of the JobStatus object (in milliseconds).
-
end
public long end
The end time of the JobStatus object (in milliseconds).
-
exception
public java.lang.Exception exception
The exception attribute of the JobStatus object (in milliseconds).
-
-