Annotation Interface NacosProperties
An annotation for Nacos Properties.
- 从以下版本开始:
- 0.2.1
- 作者:
- Mercy
- 另请参阅:
PropertyKeyConst
-
可选元素概要
可选元素修饰符和类型可选元素说明The property of "access-key".The property of "cluster-name".The property of "configLongPollTimeout".The property of "configRetryTime".The property of "context-path".The property of "enableRemoteSyncConfig".The property of "encode".The property of "endpoint".The property of "maxRetry".The property of "namespace".The property of "password".The property of "secret-key".The property of "server-addr".The property of "username". -
字段概要
字段修饰符和类型字段说明static StringThe property name of "access-key".static StringThe placeholder of endpoint, the value is"${nacos.access-key:}".static StringThe property name of "cluster-name".static StringThe placeholder of endpoint, the value is"${nacos.cluster-name:}".static StringThe property name of "long-poll.timeout".static StringThe placeholder ofconfigLongPollTimeout, the value is"${nacos.configLongPollTimeout:}".static StringThe property name of "config.retry.time".static StringThe placeholder ofconfigRetryTime, the value is"${nacos.configRetryTime:}".static StringThe property name of "context-path".static StringThe placeholder of endpoint, the value is ${nacos.context-path:}".static StringThe property name of "enableRemoteSyncConfig".static StringThe placeholder ofenableRemoteSyncConfig, the value is"${nacos.enableRemoteSyncConfig:}".static StringThe property name of "encode".static StringThe placeholder ofencode, the value is"${nacos.encode:UTF-8}".static StringThe property name of "endpoint".static StringThe placeholder of endpoint, the value is"${nacos.endpoint:}".static StringThe property name of "maxRetry".static StringThe placeholder ofmaxRetry, the value is"${nacos.maxRetry:}".static StringThe property name of "namespace".static StringThe placeholder of endpoint, the value is"${nacos.namespace:}".static StringThe property name of "password".static StringThe placeholder of endpoint, the value is"${nacos.password:}".static StringThe prefix of property name of Nacos.static StringThe property name of "secret-key".static StringThe placeholder of endpoint, the value is"${nacos.secret-key:}".static StringThe property name of "server-addr".static StringThe placeholder of endpoint, the value is${nacos.server-addr:}".static StringThe property name of "username".static StringThe placeholder of endpoint, the value is"${nacos.username:}".
-
字段详细资料
-
PREFIX
The prefix of property name of Nacos.- 另请参阅:
- 常量字段值
-
ENDPOINT
The property name of "endpoint".- 另请参阅:
- 常量字段值
-
NAMESPACE
The property name of "namespace".- 另请参阅:
- 常量字段值
-
ACCESS_KEY
The property name of "access-key".- 另请参阅:
- 常量字段值
-
SECRET_KEY
The property name of "secret-key".- 另请参阅:
- 常量字段值
-
SERVER_ADDR
The property name of "server-addr".- 另请参阅:
- 常量字段值
-
CONTEXT_PATH
The property name of "context-path".- 另请参阅:
- 常量字段值
-
CLUSTER_NAME
The property name of "cluster-name".- 另请参阅:
- 常量字段值
-
ENCODE
The property name of "encode".- 另请参阅:
- 常量字段值
-
CONFIG_LONG_POLL_TIMEOUT
The property name of "long-poll.timeout".- 另请参阅:
- 常量字段值
-
CONFIG_RETRY_TIME
The property name of "config.retry.time".- 另请参阅:
- 常量字段值
-
MAX_RETRY
The property name of "maxRetry".- 另请参阅:
- 常量字段值
-
ENABLE_REMOTE_SYNC_CONFIG
The property name of "enableRemoteSyncConfig".- 另请参阅:
- 常量字段值
-
USERNAME
The property name of "username".- 另请参阅:
- 常量字段值
-
PASSWORD
The property name of "password".- 另请参阅:
- 常量字段值
-
ENDPOINT_PLACEHOLDER
The placeholder of endpoint, the value is"${nacos.endpoint:}".- 另请参阅:
- 常量字段值
-
NAMESPACE_PLACEHOLDER
The placeholder of endpoint, the value is"${nacos.namespace:}".- 另请参阅:
- 常量字段值
-
ACCESS_KEY_PLACEHOLDER
The placeholder of endpoint, the value is"${nacos.access-key:}".- 另请参阅:
- 常量字段值
-
SECRET_KEY_PLACEHOLDER
The placeholder of endpoint, the value is"${nacos.secret-key:}".- 另请参阅:
- 常量字段值
-
SERVER_ADDR_PLACEHOLDER
The placeholder of endpoint, the value is${nacos.server-addr:}".- 另请参阅:
- 常量字段值
-
CONTEXT_PATH_PLACEHOLDER
The placeholder of endpoint, the value is ${nacos.context-path:}".- 另请参阅:
- 常量字段值
-
CLUSTER_NAME_PLACEHOLDER
The placeholder of endpoint, the value is"${nacos.cluster-name:}".- 另请参阅:
- 常量字段值
-
ENCODE_PLACEHOLDER
The placeholder ofencode, the value is"${nacos.encode:UTF-8}".- 另请参阅:
- 常量字段值
-
CONFIG_LONG_POLL_TIMEOUT_PLACEHOLDER
The placeholder ofconfigLongPollTimeout, the value is"${nacos.configLongPollTimeout:}".- 另请参阅:
- 常量字段值
-
CONFIG_RETRY_TIME_PLACEHOLDER
The placeholder ofconfigRetryTime, the value is"${nacos.configRetryTime:}".- 另请参阅:
- 常量字段值
-
MAX_RETRY_PLACEHOLDER
The placeholder ofmaxRetry, the value is"${nacos.maxRetry:}".- 另请参阅:
- 常量字段值
-
ENABLE_REMOTE_SYNC_CONFIG_PLACEHOLDER
The placeholder ofenableRemoteSyncConfig, the value is"${nacos.enableRemoteSyncConfig:}".- 另请参阅:
- 常量字段值
-
USERNAME_PLACEHOLDER
The placeholder of endpoint, the value is"${nacos.username:}".- 另请参阅:
- 常量字段值
-
PASSWORD_PLACEHOLDER
The placeholder of endpoint, the value is"${nacos.password:}".- 另请参阅:
- 常量字段值
-
-
元素详细资料
-
endpoint
String endpointThe property of "endpoint".- 返回:
- empty as default value
- 另请参阅:
ENDPOINT_PLACEHOLDER
- 默认值:
- "${nacos.endpoint:}"
-
namespace
String namespaceThe property of "namespace".- 返回:
- empty as default value
- 另请参阅:
NAMESPACE_PLACEHOLDER
- 默认值:
- "${nacos.namespace:}"
-
accessKey
String accessKeyThe property of "access-key".- 返回:
- empty as default value
- 另请参阅:
ACCESS_KEY_PLACEHOLDER
- 默认值:
- "${nacos.access-key:}"
-
secretKey
String secretKeyThe property of "secret-key".- 返回:
- empty as default value
- 另请参阅:
SECRET_KEY_PLACEHOLDER
- 默认值:
- "${nacos.secret-key:}"
-
serverAddr
String serverAddrThe property of "server-addr".- 返回:
- empty as default value
- 另请参阅:
SERVER_ADDR_PLACEHOLDER
- 默认值:
- "${nacos.server-addr:}"
-
contextPath
String contextPathThe property of "context-path".- 返回:
- empty as default value
- 另请参阅:
CONTEXT_PATH_PLACEHOLDER
- 默认值:
- "${nacos.context-path:}"
-
clusterName
String clusterNameThe property of "cluster-name".- 返回:
- empty as default value
- 另请参阅:
CLUSTER_NAME_PLACEHOLDER
- 默认值:
- "${nacos.cluster-name:}"
-
encode
String encodeThe property of "encode".- 返回:
- "UTF-8" as default value
- 另请参阅:
ENCODE_PLACEHOLDER
- 默认值:
- "${nacos.encode:UTF-8}"
-
configLongPollTimeout
String configLongPollTimeoutThe property of "configLongPollTimeout".- 返回:
- empty as default value
- 另请参阅:
CONFIG_LONG_POLL_TIMEOUT_PLACEHOLDER
- 默认值:
- "${nacos.configLongPollTimeout:}"
-
configRetryTime
String configRetryTimeThe property of "configRetryTime".- 返回:
- empty as default value
- 另请参阅:
CONFIG_RETRY_TIME_PLACEHOLDER
- 默认值:
- "${nacos.configRetryTime:}"
-
maxRetry
String maxRetryThe property of "maxRetry".- 返回:
- empty as default value
- 另请参阅:
MAX_RETRY
- 默认值:
- "${nacos.maxRetry:}"
-
enableRemoteSyncConfig
String enableRemoteSyncConfigThe property of "enableRemoteSyncConfig".- 返回:
- empty as default value
- 另请参阅:
ENABLE_REMOTE_SYNC_CONFIG
- 默认值:
- "${nacos.enableRemoteSyncConfig:}"
-
username
String usernameThe property of "username".- 返回:
- empty as default value
- 另请参阅:
USERNAME_PLACEHOLDER
- 默认值:
- "${nacos.username:}"
-
password
String passwordThe property of "password".- 返回:
- empty as default value
- 另请参阅:
PASSWORD_PLACEHOLDER
- 默认值:
- "${nacos.password:}"
-