Package oracle.kv.pubsub
Enum SubscriptionChangeNotAppliedException.Reason
java.lang.Object
java.lang.Enum<SubscriptionChangeNotAppliedException.Reason>
oracle.kv.pubsub.SubscriptionChangeNotAppliedException.Reason
- All Implemented Interfaces:
Serializable
,Comparable<SubscriptionChangeNotAppliedException.Reason>
- Enclosing class:
- SubscriptionChangeNotAppliedException
public static enum SubscriptionChangeNotAppliedException.Reason
extends Enum<SubscriptionChangeNotAppliedException.Reason>
Describes the reason that a change was not applied.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionChange timeoutThe 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 type with the specified name.values()
Returns an array containing the constants of this enum type, 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
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-