|
Oracle Containers for J2EE Job Scheduler Java API Reference 10g Release 3 (10.1.3) B16026-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.ias.scheduler.event.SchedulerEvent
oracle.ias.scheduler.event.RestartEvent
oracle.ias.scheduler.event.JobExecutionEvent
This is the base class for all job execution-related events.
Field Summary | |
protected long |
m_beginTime
|
protected long |
m_endTime
|
protected java.lang.String |
m_id
|
Fields inherited from class oracle.ias.scheduler.event.RestartEvent |
m_replay, m_retry |
Fields inherited from class oracle.ias.scheduler.event.SchedulerEvent |
m_source, m_timestamp |
Constructor Summary | |
JobExecutionEvent()
|
|
JobExecutionEvent(JobHandle job,
long beginTime,
long endTime,
boolean isReplay,
boolean isRetry)
Initializes a newly created JobExecutionEvent with
the job handle, execution begin time, and execution end time
specified. |
Method Summary | |
boolean |
equals(java.lang.Object v)
|
long |
getBeginTime()
Returns the time at which job execution started. |
long |
getElapsedTime()
Returns the elapsed job execution time. |
long |
getEndTime()
Returns the time at which job execution ended. |
java.lang.String |
getId()
Returns the unique execution id string to correlate this event to a job's execution |
int |
hashCode()
|
Methods inherited from class oracle.ias.scheduler.event.RestartEvent |
isReplay, isRetry |
Methods inherited from class oracle.ias.scheduler.event.SchedulerEvent |
getHandle, getSource, getTimestamp |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected long m_beginTime
protected long m_endTime
protected java.lang.String m_id
Constructor Detail |
public JobExecutionEvent(JobHandle job, long beginTime, long endTime, boolean isReplay, boolean isRetry) throws java.lang.IllegalArgumentException
JobExecutionEvent
with
the job handle, execution begin time, and execution end time
specified.
job
- a handle to the job whose execution failedisReplay
- whether this execution is a result of a replayisRetry
- whether this execution is a result of a retry
java.lang.IllegalArgumentException
- if isReplay and isRetry each
evaluate to true for this event instanceto retrieve the job handle.
public JobExecutionEvent()
Method Detail |
public long getBeginTime()
public long getEndTime()
public long getElapsedTime()
public java.lang.String getId()
public boolean equals(java.lang.Object v)
equals
in class RestartEvent
public int hashCode()
hashCode
in class RestartEvent
|
Oracle Containers for J2EE Job Scheduler Java API Reference 10g Release 3 (10.1.3) B16026-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |