oracle.ias.scheduler.event
Class JobExecutionSucceededEvent
java.lang.Object
oracle.ias.scheduler.event.SchedulerEvent
oracle.ias.scheduler.event.RestartEvent
oracle.ias.scheduler.event.JobExecutionEvent
oracle.ias.scheduler.event.JobExecutionSucceededEvent
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- public final class JobExecutionSucceededEvent
- extends JobExecutionEvent
- implements java.io.Externalizable
This event is raised every time a single action job completes.
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(java.lang.Object v)
|
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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
JobExecutionSucceededEvent
public JobExecutionSucceededEvent(JobHandle job,
long begin,
long end,
boolean isReplay,
boolean isRetry)
throws java.lang.IllegalArgumentException
- Initializes a newly created
JobSucceedededEvent
with the job handle, execution begin time, and execution end
time specified.
- Parameters:
job
- a handle to the job whose execution succeededbegin
- execution start time in milliseconds since epoch UTCend
- execution end time in milliseconds since epoch UTCisReplay
- whether this execution is a result of a replayisRetry
- whether this execution is a result of a retry
- Throws:
java.lang.IllegalArgumentException
- if isReplay and isRetry each
evaluate to true for this event instance
JobExecutionSucceededEvent
public JobExecutionSucceededEvent()
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Saves the contents of this object to the stream specified.
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Restores the contents of this object from the stream specified.
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
equals
public boolean equals(java.lang.Object v)
- Overrides:
equals
in class JobExecutionEvent
hashCode
public int hashCode()
- Overrides:
hashCode
in class JobExecutionEvent
getVersion
public static int getVersion()
- Internal use only.
Copyright © 2006, Oracle. All rights reserved.