|
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 oracle.ias.scheduler.event.JobExecutionEvent oracle.ias.scheduler.event.JobExecutionErrorEvent
This event is raised every time a job execution fails.
Field Summary |
Fields inherited from class oracle.ias.scheduler.event.JobExecutionEvent |
m_beginTime, m_endTime, 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 | |
JobExecutionErrorEvent()
|
|
JobExecutionErrorEvent(JobHandle job,
long begin,
long end,
boolean isReplay,
boolean isRetry,
java.lang.Exception cause)
Initializes the event with the parameters specified. |
Method Summary | |
boolean |
equals(java.lang.Object v)
|
java.lang.Exception |
getCause()
Returns the cause for the execution failure. |
static int |
getVersion()
Internal use only. |
int |
hashCode()
|
void |
readExternal(java.io.ObjectInput in)
Restores the contents of this object from the stream specified. |
void |
writeExternal(java.io.ObjectOutput out)
Saves the contents of this object to the stream specified. |
Methods inherited from class oracle.ias.scheduler.event.JobExecutionEvent |
getBeginTime, getElapsedTime, getEndTime, getId |
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 |
Constructor Detail |
public JobExecutionErrorEvent(JobHandle job, long begin, long end, boolean isReplay, boolean isRetry, java.lang.Exception cause) throws java.lang.IllegalArgumentException
job
- the job whose execution failedbegin
- start time in milliseconds since epoch UTCend
- end time in milliseconds since epoch UTCisReplay
- whether this execution is a result of a replayisRetry
- whether this execution is a result of a retrycause
- the cause of the failure
java.lang.IllegalArgumentException
- if isReplay and isRetry each
evaluate to true for this event instancepublic JobExecutionErrorEvent()
Method Detail |
public java.lang.Exception getCause()
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public boolean equals(java.lang.Object v)
equals
in class JobExecutionEvent
public int hashCode()
hashCode
in class JobExecutionEvent
public static int getVersion()
|
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 |