|
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
oracle.ias.scheduler.event.JobExecutionFailedEvent
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 | |
JobExecutionFailedEvent()
|
|
JobExecutionFailedEvent(JobHandle job,
long begin,
long end,
boolean isReplay,
boolean isRetry,
java.lang.Exception cause)
Initializes a newly created JobFailedEvent with
the job handle, execution begin time, execution end time, and
cause 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 JobExecutionFailedEvent(JobHandle job,
long begin,
long end,
boolean isReplay,
boolean isRetry,
java.lang.Exception cause)
throws java.lang.IllegalArgumentException
JobFailedEvent with
the job handle, execution begin time, execution end time, and
cause specified.
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 JobExecutionFailedEvent()
| Method Detail |
public java.lang.Exception getCause()
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundExceptionpublic boolean equals(java.lang.Object v)
equals in class JobExecutionEventpublic int hashCode()
hashCode in class JobExecutionEventpublic 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 | ||||||||||