Skip navigation links

Oracle® Database RAC FAN Events Java API Reference
11g Release 2 (11.2)

E13993-01


oracle.simplefan
Class ServiceDownEvent

java.lang.Object
  extended by java.util.EventObject
      extended by oracle.simplefan.FanEvent
          extended by oracle.simplefan.ServiceDownEvent

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public abstract class ServiceDownEvent
extends FanEvent
implements java.lang.Cloneable, java.io.Serializable

A container that can hold both kinds of service events. The service member and service composite events can either arrive separately or combined in a single event.

Since:
11.2
Version:
$Header: dbjava/simplefan/src/java/oracle/simplefan/ServiceDownEvent.java st_javavm_rhward_update_javadoc_11_2/1 2009/06/26 21:51:28 rhward Exp $
Author:
dsurber
See Also:
Serialized Form

Nested Class Summary
static class ServiceDownEvent.EventKind
           
static class ServiceDownEvent.Reason
           
static class ServiceDownEvent.ServiceMemberEvent
          The service member event that reflects the status change of a service on a particular instance (and node).

 

Method Summary
abstract  java.lang.String getDatabaseUniqueName()
           
abstract  ServiceDownEvent.EventKind getKind()
          Service down events can be member down, composite down, or both.
abstract  ServiceDownEvent.Reason getReason()
           
abstract  ServiceDownEvent.ServiceMemberEvent getServiceMemberEvent()
          Return the service member subevent information if this is a service member event.
abstract  java.lang.String getServiceName()
           

 

Methods inherited from class oracle.simplefan.FanEvent
getTimestamp

 

Methods inherited from class java.util.EventObject
getSource, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Method Detail

getKind

public abstract ServiceDownEvent.EventKind getKind()
Service down events can be member down, composite down, or both. This method reports which this is. A member down means just a single member instance of the service is down. A composite down means that all member instances of the service are down and so the service itself is down. A single event can report both the last member down and the composite down. These may also come as separate events.
Returns:
the event kind.

getServiceName

public abstract java.lang.String getServiceName()
Returns:
the service name.

getDatabaseUniqueName

public abstract java.lang.String getDatabaseUniqueName()
Returns:
the database unique name.

getReason

public abstract ServiceDownEvent.Reason getReason()
Returns:
the reason for the service going down.

getServiceMemberEvent

public abstract ServiceDownEvent.ServiceMemberEvent getServiceMemberEvent()
Return the service member subevent information if this is a service member event. Returns null if this kind is COMPOSITE. A service event can be either a member or composite event, or both.
Returns:
a ServiceMemberEvent or null.

Skip navigation links

Oracle® Database RAC FAN Events Java API Reference
11g Release 2 (11.2)

E13993-01


Copyright © 2008, 2009, Oracle and/or its affiliates. All rights reserved.