Package oracle.kv.pubsub
Enum Class SubscriptionChangeNotAppliedException.Reason
java.lang.Object
java.lang.Enum<SubscriptionChangeNotAppliedException.Reason>
oracle.kv.pubsub.SubscriptionChangeNotAppliedException.Reason
- All Implemented Interfaces:
Serializable,Comparable<SubscriptionChangeNotAppliedException.Reason>,Constable
- Enclosing class:
- SubscriptionChangeNotAppliedException
public static enum SubscriptionChangeNotAppliedException.Reason
extends Enum<SubscriptionChangeNotAppliedException.Reason>
Describes the reason that a change was not applied.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionChange timeoutCannot add or remove child table when its top table is configured to stream transaction byNoSQLSubscriptionConfig.StreamDeliveryMode.GROUP_ALL_IN_TRANSACTIONThe change was requested for a subscription that is configured to stream all tables, and subscribing or unsubscribing from individual tables for a subscription configured to stream all tables is not supported.The subscription has been canceled.The change is trying to add a table which exists in subscription.The change is trying to remove a table which does not exist in subscription.The number of pending concurrent changes has reachedSubscriptionChangeNotAppliedException.MAX_NUM_PENDING_CHANGES, and application should try again later. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOO_MANY_PENDING_CHANGES
The number of pending concurrent changes has reachedSubscriptionChangeNotAppliedException.MAX_NUM_PENDING_CHANGES, and application should try again later. -
SUBSCRIPTION_CANCELED
The subscription has been canceled. -
SUBSCRIPTION_ALL_TABLES
The change was requested for a subscription that is configured to stream all tables, and subscribing or unsubscribing from individual tables for a subscription configured to stream all tables is not supported. -
TABLE_ALREADY_SUBSCRIBED
The change is trying to add a table which exists in subscription. -
TABLE_NOT_SUBSCRIBED
The change is trying to remove a table which does not exist in subscription. -
CHANGE_TIMEOUT
Change timeout -
CHILD_TABLE_CANNOT_BE_CHANGED
Cannot add or remove child table when its top table is configured to stream transaction byNoSQLSubscriptionConfig.StreamDeliveryMode.GROUP_ALL_IN_TRANSACTION
-
-
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
-