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

B16026-01

oracle.ias.scheduler.event
Class JobBlackoutEvent

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

public final class JobBlackoutEvent
extends RestartEvent
implements java.io.Externalizable

This event is raised every time a job execution occurs when a blackout is in effect.

See Also:
Serialized Form

Field Summary
 
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
JobBlackoutEvent()
           
JobBlackoutEvent(JobHandle job, boolean isReplay, boolean isRetry)
          Initializes a newly created JobBlackoutEvent with the job handle specified.
 
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 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

JobBlackoutEvent

public JobBlackoutEvent(JobHandle job,
                        boolean isReplay,
                        boolean isRetry)
                 throws java.lang.IllegalArgumentException
Initializes a newly created JobBlackoutEvent with the job handle specified.

Parameters:
job - a handle to the job whose execution was supressed due to a blackout window
isReplay - whether this execution is a result of a replay
isRetry - 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

JobBlackoutEvent

public JobBlackoutEvent()
Method Detail

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 RestartEvent

hashCode

public int hashCode()
Overrides:
hashCode in class RestartEvent

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.