@InterfaceAudience.Public @InterfaceStability.Evolving public static enum ThrottlingException.Type extends Enum<ThrottlingException.Type>
| Enum Constant and Description |
|---|
NumReadRequestsExceeded |
NumRequestsExceeded |
NumWriteRequestsExceeded |
ReadSizeExceeded |
WriteSizeExceeded |
| Modifier and Type | Method and Description |
|---|---|
static ThrottlingException.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThrottlingException.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThrottlingException.Type NumRequestsExceeded
public static final ThrottlingException.Type NumReadRequestsExceeded
public static final ThrottlingException.Type NumWriteRequestsExceeded
public static final ThrottlingException.Type WriteSizeExceeded
public static final ThrottlingException.Type ReadSizeExceeded
public static ThrottlingException.Type[] values()
for (ThrottlingException.Type c : ThrottlingException.Type.values()) System.out.println(c);
public static ThrottlingException.Type 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 © 2015 The Apache Software Foundation. All rights reserved.