Oracle Containers for J2EE Job Scheduler Java API Reference
10g Release 3 (10.1.3)

B16026-01

oracle.ias.scheduler.event
Class JobExecutionThresholdExceededEvent

java.lang.Object
  extended byoracle.ias.scheduler.event.SchedulerEvent
      extended byoracle.ias.scheduler.event.JobExecutionThresholdExceededEvent
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public final class JobExecutionThresholdExceededEvent
extends SchedulerEvent
implements java.io.Externalizable

This event is raised every time a job execution is supressed as a result of exceeding the execution threshold.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class oracle.ias.scheduler.event.SchedulerEvent
m_source, m_timestamp
 
Constructor Summary
JobExecutionThresholdExceededEvent()
           
JobExecutionThresholdExceededEvent(JobHandle job, long difference)
          The source of the event is the job.
 
Method Summary
 boolean equals(java.lang.Object v)
           
 long getDifference()
          Returns the difference between the expected and actual execution times.
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.SchedulerEvent
getHandle, getSource, getTimestamp
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobExecutionThresholdExceededEvent

public JobExecutionThresholdExceededEvent(JobHandle job,
                                          long difference)
The source of the event is the job. Initializes a newly created JobThresholdExceededEvent with the job handle and threshold difference specified.

Parameters:
job - the job whose execution threshold was exceeded
difference - threshold difference in milliseconds

JobExecutionThresholdExceededEvent

public JobExecutionThresholdExceededEvent()
Method Detail

getDifference

public long getDifference()
Returns the difference between the expected and actual execution times.

Returns:
difference in milliseconds.

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 SchedulerEvent

hashCode

public int hashCode()
Overrides:
hashCode in class SchedulerEvent

getVersion

public static int getVersion()
Internal use only.


Oracle Containers for J2EE Job Scheduler Java API Reference
10g Release 3 (10.1.3)

B16026-01

Copyright © 2006, Oracle. All rights reserved.