@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) @Documented public @interface NacosProperties
PropertyKeyConst| 限定符和类型 | 字段和说明 |
|---|---|
static String |
ACCESS_KEY
The property name of "access-key".
|
static String |
ACCESS_KEY_PLACEHOLDER
The placeholder of endpoint, the value is
"${nacos.access-key:}". |
static String |
CLUSTER_NAME
The property name of "cluster-name".
|
static String |
CLUSTER_NAME_PLACEHOLDER
The placeholder of endpoint, the value is
"${nacos.cluster-name:}". |
static String |
CONFIG_LONG_POLL_TIMEOUT
The property name of "long-poll.timeout".
|
static String |
CONFIG_LONG_POLL_TIMEOUT_PLACEHOLDER
The placeholder of
configLongPollTimeout, the value is
"${nacos.configLongPollTimeout:}". |
static String |
CONFIG_RETRY_TIME
The property name of "config.retry.time".
|
static String |
CONFIG_RETRY_TIME_PLACEHOLDER
The placeholder of
configRetryTime, the value is
"${nacos.configRetryTime:}". |
static String |
CONTEXT_PATH
The property name of "context-path".
|
static String |
CONTEXT_PATH_PLACEHOLDER
The placeholder of endpoint, the value is ${nacos.context-path:}".
|
static String |
ENABLE_REMOTE_SYNC_CONFIG
The property name of "enableRemoteSyncConfig".
|
static String |
ENABLE_REMOTE_SYNC_CONFIG_PLACEHOLDER
The placeholder of
enableRemoteSyncConfig, the value is
"${nacos.enableRemoteSyncConfig:}". |
static String |
ENCODE
The property name of "encode".
|
static String |
ENCODE_PLACEHOLDER
The placeholder of
encode, the value is "${nacos.encode:UTF-8}". |
static String |
ENDPOINT
The property name of "endpoint".
|
static String |
ENDPOINT_PLACEHOLDER
The placeholder of endpoint, the value is
"${nacos.endpoint:}". |
static String |
MAX_RETRY
The property name of "maxRetry".
|
static String |
MAX_RETRY_PLACEHOLDER
The placeholder of
maxRetry, the value is "${nacos.maxRetry:}". |
static String |
NAMESPACE
The property name of "namespace".
|
static String |
NAMESPACE_PLACEHOLDER
The placeholder of endpoint, the value is
"${nacos.namespace:}". |
static String |
PASSWORD
The property name of "password".
|
static String |
PASSWORD_PLACEHOLDER
The placeholder of endpoint, the value is
"${nacos.password:}". |
static String |
PREFIX
The prefix of property name of Nacos.
|
static String |
SECRET_KEY
The property name of "secret-key".
|
static String |
SECRET_KEY_PLACEHOLDER
The placeholder of endpoint, the value is
"${nacos.secret-key:}". |
static String |
SERVER_ADDR
The property name of "server-addr".
|
static String |
SERVER_ADDR_PLACEHOLDER
The placeholder of endpoint, the value is
${nacos.server-addr:}". |
static String |
USERNAME
The property name of "username".
|
static String |
USERNAME_PLACEHOLDER
The placeholder of endpoint, the value is
"${nacos.username:}". |
| 限定符和类型 | 可选元素和说明 |
|---|---|
String |
accessKey
The property of "access-key".
|
String |
clusterName
The property of "cluster-name".
|
String |
configLongPollTimeout
The property of "configLongPollTimeout".
|
String |
configRetryTime
The property of "configRetryTime".
|
String |
contextPath
The property of "context-path".
|
String |
enableRemoteSyncConfig
The property of "enableRemoteSyncConfig".
|
String |
encode
The property of "encode".
|
String |
endpoint
The property of "endpoint".
|
String |
maxRetry
The property of "maxRetry".
|
String |
namespace
The property of "namespace".
|
String |
password
The property of "password".
|
String |
secretKey
The property of "secret-key".
|
String |
serverAddr
The property of "server-addr".
|
String |
username
The property of "username".
|
public static final String PREFIX
public static final String ENDPOINT
public static final String NAMESPACE
public static final String ACCESS_KEY
public static final String SECRET_KEY
public static final String SERVER_ADDR
public static final String CONTEXT_PATH
public static final String CLUSTER_NAME
public static final String ENCODE
public static final String CONFIG_LONG_POLL_TIMEOUT
public static final String CONFIG_RETRY_TIME
public static final String MAX_RETRY
public static final String ENABLE_REMOTE_SYNC_CONFIG
public static final String USERNAME
public static final String PASSWORD
public static final String ENDPOINT_PLACEHOLDER
"${nacos.endpoint:}".public static final String NAMESPACE_PLACEHOLDER
"${nacos.namespace:}".public static final String ACCESS_KEY_PLACEHOLDER
"${nacos.access-key:}".public static final String SECRET_KEY_PLACEHOLDER
"${nacos.secret-key:}".public static final String SERVER_ADDR_PLACEHOLDER
${nacos.server-addr:}".public static final String CONTEXT_PATH_PLACEHOLDER
public static final String CLUSTER_NAME_PLACEHOLDER
"${nacos.cluster-name:}".public static final String CONFIG_LONG_POLL_TIMEOUT_PLACEHOLDER
configLongPollTimeout, the value is
"${nacos.configLongPollTimeout:}".public static final String CONFIG_RETRY_TIME_PLACEHOLDER
configRetryTime, the value is
"${nacos.configRetryTime:}".public static final String ENABLE_REMOTE_SYNC_CONFIG_PLACEHOLDER
enableRemoteSyncConfig, the value is
"${nacos.enableRemoteSyncConfig:}".public static final String USERNAME_PLACEHOLDER
"${nacos.username:}".public static final String PASSWORD_PLACEHOLDER
"${nacos.password:}".public abstract String endpoint
ENDPOINT_PLACEHOLDERpublic abstract String namespace
NAMESPACE_PLACEHOLDERpublic abstract String accessKey
ACCESS_KEY_PLACEHOLDERpublic abstract String secretKey
SECRET_KEY_PLACEHOLDERpublic abstract String serverAddr
SERVER_ADDR_PLACEHOLDERpublic abstract String contextPath
CONTEXT_PATH_PLACEHOLDERpublic abstract String clusterName
CLUSTER_NAME_PLACEHOLDERpublic abstract String encode
ENCODE_PLACEHOLDERpublic abstract String configLongPollTimeout
CONFIG_LONG_POLL_TIMEOUT_PLACEHOLDERpublic abstract String configRetryTime
CONFIG_RETRY_TIME_PLACEHOLDERpublic abstract String enableRemoteSyncConfig
ENABLE_REMOTE_SYNC_CONFIGpublic abstract String username
USERNAME_PLACEHOLDERpublic abstract String password
PASSWORD_PLACEHOLDERCopyright © 2018–2021 Alibaba Group. All rights reserved.