Enum CapacityManagementAspect.LimitType
- java.lang.Object
-
- java.lang.Enum<CapacityManagementAspect.LimitType>
-
- com.alibaba.nacos.config.server.aspect.CapacityManagementAspect.LimitType
-
- All Implemented Interfaces:
Serializable,Comparable<CapacityManagementAspect.LimitType>
- Enclosing class:
- CapacityManagementAspect
public static enum CapacityManagementAspect.LimitType extends Enum<CapacityManagementAspect.LimitType>
limit tyep- Author:
- Nacos
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OVER_CLUSTER_QUOTAover limitOVER_GROUP_QUOTAOVER_MAX_SIZEOVER_TENANT_QUOTA
-
Field Summary
Fields Modifier and Type Field Description Stringdescriptionintstatus
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CapacityManagementAspect.LimitTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CapacityManagementAspect.LimitType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OVER_CLUSTER_QUOTA
public static final CapacityManagementAspect.LimitType OVER_CLUSTER_QUOTA
over limit
-
OVER_GROUP_QUOTA
public static final CapacityManagementAspect.LimitType OVER_GROUP_QUOTA
-
OVER_TENANT_QUOTA
public static final CapacityManagementAspect.LimitType OVER_TENANT_QUOTA
-
OVER_MAX_SIZE
public static final CapacityManagementAspect.LimitType OVER_MAX_SIZE
-
-
Field Detail
-
description
public final String description
-
status
public final int status
-
-
Method Detail
-
values
public static CapacityManagementAspect.LimitType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CapacityManagementAspect.LimitType c : CapacityManagementAspect.LimitType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CapacityManagementAspect.LimitType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-