@InterfaceAudience.Public public static enum RpcThrottlingException.Type extends Enum<RpcThrottlingException.Type>
| 限定符和类型 | 方法和说明 |
|---|---|
static RpcThrottlingException.Type |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RpcThrottlingException.Type[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final RpcThrottlingException.Type NumRequestsExceeded
public static final RpcThrottlingException.Type RequestSizeExceeded
public static final RpcThrottlingException.Type NumReadRequestsExceeded
public static final RpcThrottlingException.Type NumWriteRequestsExceeded
public static final RpcThrottlingException.Type WriteSizeExceeded
public static final RpcThrottlingException.Type ReadSizeExceeded
public static final RpcThrottlingException.Type RequestCapacityUnitExceeded
public static final RpcThrottlingException.Type ReadCapacityUnitExceeded
public static final RpcThrottlingException.Type WriteCapacityUnitExceeded
public static RpcThrottlingException.Type[] values()
for (RpcThrottlingException.Type c : RpcThrottlingException.Type.values()) System.out.println(c);
public static RpcThrottlingException.Type valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.