|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.searchApp.scheduler.JobStatus
Tracks Job progress from before scheduling to completion.
| Field Summary |
| Fields inherited from interface com.raritantechnologies.searchApp.scheduler.IJobProcessListener |
COMPLETED, COMPLETED_NORMALLY, SCHEDULED, STARTED, UNSCHEDULED |
| Constructor Summary | |
JobStatus()
|
|
| Method Summary | |
int |
getCompletedStatus()
|
java.util.Date |
getJobCompletedTime()
Returns time at which the Job process executeJob( ) method completed. |
java.util.Date |
getJobScheduledTime()
Returns time at which the Scheduler added the Job to the queue. |
java.util.Date |
getJobStartTime()
Returns time at which the JobDispatcher initiated the job process. |
int |
getJobStatus()
|
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
void |
jobCompleted(java.lang.Object process,
java.util.Date at,
int status)
set status = 0 for normal completion. |
void |
jobScheduled(java.util.Date at)
|
void |
jobStarting(java.util.Date at)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JobStatus()
| Method Detail |
public void jobScheduled(java.util.Date at)
jobScheduled in interface IJobProcessListenerpublic void jobStarting(java.util.Date at)
jobStarting in interface IJobProcessListener
public void jobCompleted(java.lang.Object process,
java.util.Date at,
int status)
jobCompleted in interface IJobProcessListenerpublic int getJobStatus()
getJobStatus in interface IJobProcessListenerpublic int getCompletedStatus()
getCompletedStatus in interface IJobProcessListenerpublic java.util.Date getJobScheduledTime()
IJobProcessListener
getJobScheduledTime in interface IJobProcessListenerpublic java.util.Date getJobStartTime()
IJobProcessListener
getJobStartTime in interface IJobProcessListenerpublic java.util.Date getJobCompletedTime()
IJobProcessListener
getJobCompletedTime in interface IJobProcessListenerpublic void initialize(org.w3c.dom.Element elem)
IConfigurable
initialize in interface IJobProcessListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||