Enum BucketConfigRefreshFailedEvent.Reason
java.lang.Object
java.lang.Enum<BucketConfigRefreshFailedEvent.Reason>
com.couchbase.client.core.cnc.events.config.BucketConfigRefreshFailedEvent.Reason
- All Implemented Interfaces:
Serializable
,Comparable<BucketConfigRefreshFailedEvent.Reason>
- Enclosing class:
BucketConfigRefreshFailedEvent
public static enum BucketConfigRefreshFailedEvent.Reason
extends Enum<BucketConfigRefreshFailedEvent.Reason>
The reason with severity for the failure.
-
Enum Constant Summary
Enum ConstantDescriptionAn individual request for a poll/stream failed.Usually because the bucket is not open/no config there at the given point in time.A http config stream closed without error.A http config stream closed with an error. -
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
-
NO_BUCKET_FOUND
Usually because the bucket is not open/no config there at the given point in time. -
INDIVIDUAL_REQUEST_FAILED
An individual request for a poll/stream failed. -
STREAM_CLOSED
A http config stream closed without error. -
STREAM_FAILED
A http config stream closed with an error.
-
-
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
-