@InterfaceAudience.Public public enum ThrottleType extends Enum<ThrottleType>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
static ThrottleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThrottleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- 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–2020 The Apache Software Foundation. All rights reserved.