public static enum ErrorThrowingGetObserver.ErrorType extends Enum<ErrorThrowingGetObserver.ErrorType>
Enum Constant and Description |
---|
CALL_DROPPED |
CALL_QUEUE_TOO_BIG |
FAILED_SANITY_CHECK |
MULTI_ACTION_RESULT_TOO_LARGE |
NOT_SERVING_REGION |
OUT_OF_ORDER_SCANNER_NEXT |
QUOTA_EXCEEDED |
REGION_MOVED |
REGION_TOO_BUSY |
RPC_THROTTLING |
SCANNER_RESET |
UNKNOWN_SCANNER |
Modifier and Type | Field and Description |
---|---|
private String |
metricName |
Modifier and Type | Method and Description |
---|---|
String |
getMetricName() |
static ErrorThrowingGetObserver.ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorThrowingGetObserver.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorThrowingGetObserver.ErrorType CALL_QUEUE_TOO_BIG
public static final ErrorThrowingGetObserver.ErrorType MULTI_ACTION_RESULT_TOO_LARGE
public static final ErrorThrowingGetObserver.ErrorType FAILED_SANITY_CHECK
public static final ErrorThrowingGetObserver.ErrorType NOT_SERVING_REGION
public static final ErrorThrowingGetObserver.ErrorType REGION_MOVED
public static final ErrorThrowingGetObserver.ErrorType SCANNER_RESET
public static final ErrorThrowingGetObserver.ErrorType UNKNOWN_SCANNER
public static final ErrorThrowingGetObserver.ErrorType REGION_TOO_BUSY
public static final ErrorThrowingGetObserver.ErrorType OUT_OF_ORDER_SCANNER_NEXT
public static final ErrorThrowingGetObserver.ErrorType QUOTA_EXCEEDED
public static final ErrorThrowingGetObserver.ErrorType RPC_THROTTLING
public static final ErrorThrowingGetObserver.ErrorType CALL_DROPPED
private final String metricName
public static ErrorThrowingGetObserver.ErrorType[] values()
for (ErrorThrowingGetObserver.ErrorType c : ErrorThrowingGetObserver.ErrorType.values()) System.out.println(c);
public static ErrorThrowingGetObserver.ErrorType 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 getMetricName()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.