@InterfaceAudience.Public public enum QuotaScope extends Enum<QuotaScope>
| 枚举常量和说明 |
|---|
CLUSTER
The specified throttling rules will be applied at the cluster level.
|
MACHINE
The specified throttling rules will be applied on the machine level.
|
public static final QuotaScope CLUSTER
public static final QuotaScope MACHINE
public static QuotaScope[] values()
for (QuotaScope c : QuotaScope.values()) System.out.println(c);
public static QuotaScope valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.