| Enum Constant and Description |
|---|
CURRENT
Retry the previously failed call.
|
FAILOVER
Retry other servers when failed.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
get code.
|
java.lang.String |
getName()
get name.
|
boolean |
isSupport()
get support.
|
static RetryEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RetryEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetryEnum CURRENT
public static final RetryEnum FAILOVER
public static RetryEnum[] values()
for (RetryEnum c : RetryEnum.values()) System.out.println(c);
public static RetryEnum valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getCode()
public java.lang.String getName()
public boolean isSupport()
Copyright © 2024 The Apache Software Foundation. All rights reserved.