public static enum ErrorMap.RetryStrategy extends Enum<ErrorMap.RetryStrategy>
Enum Constant and Description |
---|
CONSTANT |
EXPONENTIAL |
LINEAR |
Modifier and Type | Method and Description |
---|---|
String |
strategy() |
static ErrorMap.RetryStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorMap.RetryStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorMap.RetryStrategy EXPONENTIAL
public static final ErrorMap.RetryStrategy LINEAR
public static final ErrorMap.RetryStrategy CONSTANT
public static ErrorMap.RetryStrategy[] values()
for (ErrorMap.RetryStrategy c : ErrorMap.RetryStrategy.values()) System.out.println(c);
public static ErrorMap.RetryStrategy 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 nullpublic String strategy()
Copyright © 2020 Couchbase, Inc.. All rights reserved.