|
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.Object oracle.ias.scheduler.event.SchedulerEvent oracle.ias.scheduler.event.RestartEvent
This is the base class for all job events that can result from the system restarting an execution as the result of retry or replay.
Field Summary | |
protected boolean |
m_replay
|
protected boolean |
m_retry
|
Fields inherited from class oracle.ias.scheduler.event.SchedulerEvent |
m_source, m_timestamp |
Constructor Summary | |
RestartEvent()
|
|
RestartEvent(JobHandle job,
boolean isReplay,
boolean isRetry)
Initializes a newly created RestartEvent with
the job handle, replay and retry flags |
Method Summary | |
boolean |
equals(java.lang.Object v)
|
int |
hashCode()
|
boolean |
isReplay()
This method is used to determine if this event was due to an execution that was replayed |
boolean |
isRetry()
This method is used to determine if this event was due to an execution that was retried due to a prior failed execution |
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 boolean m_replay
protected boolean m_retry
Constructor Detail |
public RestartEvent(JobHandle job, boolean isReplay, boolean isRetry) throws java.lang.IllegalArgumentException
RestartEvent
with
the job handle, replay and retry flags
job
- a handle to the job whose execution failedisReplay
- execution is a result of a replayisRetry
- execution is a result of a retry
java.lang.IllegalArgumentException
- if both isReplay and isRetry
evaluate to true.to retrieve the job handle.
public RestartEvent()
Method Detail |
public boolean isReplay()
public boolean isRetry()
public boolean equals(java.lang.Object v)
equals
in class SchedulerEvent
public int hashCode()
hashCode
in class SchedulerEvent
|
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 |