Enum Class ChangeOperation
- All Implemented Interfaces:
Serializable, Comparable<ChangeOperation>, Constable
The operation reported by a database change notification provider.
- Since:
- 5.3.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA row was deleted.A row was inserted.The provider cannot identify one affected row, or the listener should refresh or reconcile its view of the registered data.The subscription has permanently stopped delivering notifications.A row was updated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangeOperationReturns the enum constant of this class with the specified name.static ChangeOperation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSERT
A row was inserted. -
UPDATE
A row was updated. -
DELETE
A row was deleted. -
INVALIDATE
The provider cannot identify one affected row, or the listener should refresh or reconcile its view of the registered data. Applications determine how to respond to this event. -
TERMINATED
The subscription has permanently stopped delivering notifications. Applications should stop trusting state maintained by this subscription and use another source, such as database reads. No entity is associated with this event. This event can be delivered while an earlier notification is still being processed.
-
-
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
-