public static enum AsyncRequestFutureImpl.Retry extends Enum<AsyncRequestFutureImpl.Retry>
AsyncRequestFutureImpl.manageError(int, Row, Retry, Throwable, ServerName)
. Only
used to make logging more clear, we don't actually care why we don't retry.Enum Constant and Description |
---|
NO_LOCATION_PROBLEM |
NO_NOT_RETRIABLE |
NO_OTHER_SUCCEEDED |
NO_RETRIES_EXHAUSTED |
YES |
Modifier and Type | Method and Description |
---|---|
static AsyncRequestFutureImpl.Retry |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsyncRequestFutureImpl.Retry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncRequestFutureImpl.Retry YES
public static final AsyncRequestFutureImpl.Retry NO_LOCATION_PROBLEM
public static final AsyncRequestFutureImpl.Retry NO_NOT_RETRIABLE
public static final AsyncRequestFutureImpl.Retry NO_RETRIES_EXHAUSTED
public static final AsyncRequestFutureImpl.Retry NO_OTHER_SUCCEEDED
public static AsyncRequestFutureImpl.Retry[] values()
for (AsyncRequestFutureImpl.Retry c : AsyncRequestFutureImpl.Retry.values()) System.out.println(c);
public static AsyncRequestFutureImpl.Retry 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 © 2007–2019 The Apache Software Foundation. All rights reserved.