Package oracle.jdbc.dcn
Enum Class DatabaseChangeEvent.EventType
- All Implemented Interfaces:
Serializable,Comparable<DatabaseChangeEvent.EventType>,Constable
- Enclosing class:
- DatabaseChangeEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEvent type: unregistered or timed out.Event type: no further information about the change notification.Event type: Object change notification.Event type: Query change notification.Event type: instance shutdown.Event type: any instance shutdown - Real Application Clusters (RAC).Event type: database startup. -
Method Summary
Modifier and TypeMethodDescriptionfinal intgetCode()Implementation detail (for internal use only).static final DatabaseChangeEvent.EventTypegetEventType(int code) Implementation detail (for internal use only).Returns the enum constant of this class with the specified name.static DatabaseChangeEvent.EventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Event type: no further information about the change notification. -
STARTUP
Event type: database startup. -
SHUTDOWN
Event type: instance shutdown. -
SHUTDOWN_ANY
Event type: any instance shutdown - Real Application Clusters (RAC). -
DEREG
Event type: unregistered or timed out. -
OBJCHANGE
Event type: Object change notification. -
QUERYCHANGE
Event type: Query change notification.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
public final int getCode()Implementation detail (for internal use only). -
getEventType
Implementation detail (for internal use only).
-