类 Constants
- java.lang.Object
-
- com.alibaba.nacos.naming.constants.Constants
-
public final class Constants extends java.lang.ObjectNaming module code starts with 20001.- 作者:
- liaochuntao
-
-
字段概要
字段 修饰符和类型 字段 说明 static longACK_TIMEOUT_NANOSThe Nanoseconds for receive UDP ack time out.static java.lang.StringCUSTOM_INSTANCE_IDThe custom instance id key.static java.lang.StringDATA_WARMUPdefault: false.static doubleDEFAULT_INSTANCE_WEIGHTThe weight of instance according to instance self publish.static java.lang.StringEMPTY_SERVICE_CLEAN_INTERVALTime interval to clear empty services, unit: millisecond. default: 60000 ms.static java.lang.StringEMPTY_SERVICE_EXPIRED_TIMEExpiration time of empty service, unit: millisecond. default: 60000 ms.static java.lang.StringEXPIRE_INSTANCEdefault : true.static java.lang.StringEXPIRED_METADATA_CLEAN_INTERVALTime interval to clear expired metadata, unit: millisecond. default: 5000 ms.static java.lang.StringEXPIRED_METADATA_EXPIRED_TIMEExpiration time of expired metadata, unit: millisecond. default: 60000 ms.static java.lang.StringINSTANCE_METADATAstatic doubleMAX_WEIGHT_VALUEMax value of instance weight.static doubleMIN_POSITIVE_WEIGHT_VALUEMin positive value of instance weight.static doubleMIN_WEIGHT_VALUEMin value of instance weight.static java.lang.StringNACOS_NAMING_USE_NEW_RAFT_FIRSTstatic java.lang.StringNAMING_PERSISTENT_SERVICE_GROUPstatic java.lang.StringNAMING_PERSISTENT_SERVICE_GROUP_V2static java.lang.StringPUBLISH_INSTANCE_ENABLEWhether enabled for instance according to instance self publish.static java.lang.StringPUBLISH_INSTANCE_WEIGHTThe weight of instance according to instance self publish.static java.lang.StringSERVICE_METADATAstatic intUDP_MAX_RETRY_TIMESUDP max retry times.
-
构造器概要
构造器 构造器 说明 Constants()
-
-
-
字段详细资料
-
SERVICE_METADATA
public static final java.lang.String SERVICE_METADATA
- 另请参阅:
- 常量字段值
-
INSTANCE_METADATA
public static final java.lang.String INSTANCE_METADATA
- 另请参阅:
- 常量字段值
-
NAMING_PERSISTENT_SERVICE_GROUP
public static final java.lang.String NAMING_PERSISTENT_SERVICE_GROUP
- 另请参阅:
- 常量字段值
-
NAMING_PERSISTENT_SERVICE_GROUP_V2
public static final java.lang.String NAMING_PERSISTENT_SERVICE_GROUP_V2
- 另请参阅:
- 常量字段值
-
NACOS_NAMING_USE_NEW_RAFT_FIRST
public static final java.lang.String NACOS_NAMING_USE_NEW_RAFT_FIRST
- 另请参阅:
- 常量字段值
-
EMPTY_SERVICE_CLEAN_INTERVAL
public static final java.lang.String EMPTY_SERVICE_CLEAN_INTERVAL
Time interval to clear empty services, unit: millisecond. default: 60000 ms.- 另请参阅:
- 常量字段值
-
EMPTY_SERVICE_EXPIRED_TIME
public static final java.lang.String EMPTY_SERVICE_EXPIRED_TIME
Expiration time of empty service, unit: millisecond. default: 60000 ms.- 另请参阅:
- 常量字段值
-
EXPIRED_METADATA_CLEAN_INTERVAL
public static final java.lang.String EXPIRED_METADATA_CLEAN_INTERVAL
Time interval to clear expired metadata, unit: millisecond. default: 5000 ms.- 另请参阅:
- 常量字段值
-
EXPIRED_METADATA_EXPIRED_TIME
public static final java.lang.String EXPIRED_METADATA_EXPIRED_TIME
Expiration time of expired metadata, unit: millisecond. default: 60000 ms.- 另请参阅:
- 常量字段值
-
DATA_WARMUP
public static final java.lang.String DATA_WARMUP
default: false.- 另请参阅:
- 常量字段值
-
EXPIRE_INSTANCE
public static final java.lang.String EXPIRE_INSTANCE
default : true.- 另请参阅:
- 常量字段值
-
UDP_MAX_RETRY_TIMES
public static final int UDP_MAX_RETRY_TIMES
UDP max retry times.- 另请参阅:
- 常量字段值
-
ACK_TIMEOUT_NANOS
public static final long ACK_TIMEOUT_NANOS
The Nanoseconds for receive UDP ack time out.
-
CUSTOM_INSTANCE_ID
public static final java.lang.String CUSTOM_INSTANCE_ID
The custom instance id key.- 另请参阅:
- 常量字段值
-
PUBLISH_INSTANCE_WEIGHT
public static final java.lang.String PUBLISH_INSTANCE_WEIGHT
The weight of instance according to instance self publish.- 另请参阅:
- 常量字段值
-
DEFAULT_INSTANCE_WEIGHT
public static final double DEFAULT_INSTANCE_WEIGHT
The weight of instance according to instance self publish.- 另请参阅:
- 常量字段值
-
PUBLISH_INSTANCE_ENABLE
public static final java.lang.String PUBLISH_INSTANCE_ENABLE
Whether enabled for instance according to instance self publish.- 另请参阅:
- 常量字段值
-
MAX_WEIGHT_VALUE
public static final double MAX_WEIGHT_VALUE
Max value of instance weight.- 另请参阅:
- 常量字段值
-
MIN_POSITIVE_WEIGHT_VALUE
public static final double MIN_POSITIVE_WEIGHT_VALUE
Min positive value of instance weight.- 另请参阅:
- 常量字段值
-
MIN_WEIGHT_VALUE
public static final double MIN_WEIGHT_VALUE
Min value of instance weight.- 另请参阅:
- 常量字段值
-
-