@InterfaceAudience.Public public enum ThrottleType extends Enum<ThrottleType>
| 枚举常量和说明 |
|---|
READ_CAPACITY_UNIT
Throttling based on the read data capacity unit
|
READ_NUMBER
Throttling based on the number of read requests per time-unit
|
READ_SIZE
Throttling based on the read data size
|
REQUEST_CAPACITY_UNIT
Throttling based on the read+write capacity unit
|
REQUEST_NUMBER
Throttling based on the number of requests per time-unit
|
REQUEST_SIZE
Throttling based on the read+write data size
|
WRITE_CAPACITY_UNIT
Throttling based on the write data capacity unit
|
WRITE_NUMBER
Throttling based on the number of write requests per time-unit
|
WRITE_SIZE
Throttling based on the write data size
|
public static final ThrottleType REQUEST_NUMBER
public static final ThrottleType REQUEST_SIZE
public static final ThrottleType WRITE_NUMBER
public static final ThrottleType WRITE_SIZE
public static final ThrottleType READ_NUMBER
public static final ThrottleType READ_SIZE
public static final ThrottleType REQUEST_CAPACITY_UNIT
public static final ThrottleType WRITE_CAPACITY_UNIT
public static final ThrottleType READ_CAPACITY_UNIT
public static ThrottleType[] values()
for (ThrottleType c : ThrottleType.values()) System.out.println(c);
public static ThrottleType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.