public static enum BucketConfigRefreshFailedEvent.Reason extends Enum<BucketConfigRefreshFailedEvent.Reason>
Enum Constant and Description |
---|
INDIVIDUAL_REQUEST_FAILED
An individual request for a poll/stream failed.
|
NO_BUCKET_FOUND
Usually because the bucket is not open/no config there at the given point in time.
|
STREAM_CLOSED
A http config stream closed without error.
|
STREAM_FAILED
A http config stream closed with an error.
|
Modifier and Type | Method and Description |
---|---|
static BucketConfigRefreshFailedEvent.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BucketConfigRefreshFailedEvent.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BucketConfigRefreshFailedEvent.Reason NO_BUCKET_FOUND
public static final BucketConfigRefreshFailedEvent.Reason INDIVIDUAL_REQUEST_FAILED
public static final BucketConfigRefreshFailedEvent.Reason STREAM_CLOSED
public static final BucketConfigRefreshFailedEvent.Reason STREAM_FAILED
public static BucketConfigRefreshFailedEvent.Reason[] values()
for (BucketConfigRefreshFailedEvent.Reason c : BucketConfigRefreshFailedEvent.Reason.values()) System.out.println(c);
public static BucketConfigRefreshFailedEvent.Reason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Couchbase, Inc.. All rights reserved.