Annotation Interface NacosProperties


@Target(ANNOTATION_TYPE) @Retention(RUNTIME) @Documented public @interface NacosProperties
An annotation for Nacos Properties.
从以下版本开始:
0.2.1
作者:
Mercy
另请参阅:
PropertyKeyConst
  • 字段详细资料

    • PREFIX

      static final String PREFIX
      The prefix of property name of Nacos.
      另请参阅:
      常量字段值
    • ENDPOINT

      static final String ENDPOINT
      The property name of "endpoint".
      另请参阅:
      常量字段值
    • NAMESPACE

      static final String NAMESPACE
      The property name of "namespace".
      另请参阅:
      常量字段值
    • ACCESS_KEY

      static final String ACCESS_KEY
      The property name of "access-key".
      另请参阅:
      常量字段值
    • SECRET_KEY

      static final String SECRET_KEY
      The property name of "secret-key".
      另请参阅:
      常量字段值
    • SERVER_ADDR

      static final String SERVER_ADDR
      The property name of "server-addr".
      另请参阅:
      常量字段值
    • CONTEXT_PATH

      static final String CONTEXT_PATH
      The property name of "context-path".
      另请参阅:
      常量字段值
    • CLUSTER_NAME

      static final String CLUSTER_NAME
      The property name of "cluster-name".
      另请参阅:
      常量字段值
    • ENCODE

      static final String ENCODE
      The property name of "encode".
      另请参阅:
      常量字段值
    • CONFIG_LONG_POLL_TIMEOUT

      static final String CONFIG_LONG_POLL_TIMEOUT
      The property name of "long-poll.timeout".
      另请参阅:
      常量字段值
    • CONFIG_RETRY_TIME

      static final String CONFIG_RETRY_TIME
      The property name of "config.retry.time".
      另请参阅:
      常量字段值
    • MAX_RETRY

      static final String MAX_RETRY
      The property name of "maxRetry".
      另请参阅:
      常量字段值
    • ENABLE_REMOTE_SYNC_CONFIG

      static final String ENABLE_REMOTE_SYNC_CONFIG
      The property name of "enableRemoteSyncConfig".
      另请参阅:
      常量字段值
    • USERNAME

      static final String USERNAME
      The property name of "username".
      另请参阅:
      常量字段值
    • PASSWORD

      static final String PASSWORD
      The property name of "password".
      另请参阅:
      常量字段值
    • ENDPOINT_PLACEHOLDER

      static final String ENDPOINT_PLACEHOLDER
      The placeholder of endpoint, the value is "${nacos.endpoint:}".
      另请参阅:
      常量字段值
    • NAMESPACE_PLACEHOLDER

      static final String NAMESPACE_PLACEHOLDER
      The placeholder of endpoint, the value is "${nacos.namespace:}".
      另请参阅:
      常量字段值
    • ACCESS_KEY_PLACEHOLDER

      static final String ACCESS_KEY_PLACEHOLDER
      The placeholder of endpoint, the value is "${nacos.access-key:}".
      另请参阅:
      常量字段值
    • SECRET_KEY_PLACEHOLDER

      static final String SECRET_KEY_PLACEHOLDER
      The placeholder of endpoint, the value is "${nacos.secret-key:}".
      另请参阅:
      常量字段值
    • SERVER_ADDR_PLACEHOLDER

      static final String SERVER_ADDR_PLACEHOLDER
      The placeholder of endpoint, the value is ${nacos.server-addr:}".
      另请参阅:
      常量字段值
    • CONTEXT_PATH_PLACEHOLDER

      static final String CONTEXT_PATH_PLACEHOLDER
      The placeholder of endpoint, the value is ${nacos.context-path:}".
      另请参阅:
      常量字段值
    • CLUSTER_NAME_PLACEHOLDER

      static final String CLUSTER_NAME_PLACEHOLDER
      The placeholder of endpoint, the value is "${nacos.cluster-name:}".
      另请参阅:
      常量字段值
    • ENCODE_PLACEHOLDER

      static final String ENCODE_PLACEHOLDER
      The placeholder of encode, the value is "${nacos.encode:UTF-8}".
      另请参阅:
      常量字段值
    • CONFIG_LONG_POLL_TIMEOUT_PLACEHOLDER

      static final String CONFIG_LONG_POLL_TIMEOUT_PLACEHOLDER
      The placeholder of configLongPollTimeout, the value is "${nacos.configLongPollTimeout:}".
      另请参阅:
      常量字段值
    • CONFIG_RETRY_TIME_PLACEHOLDER

      static final String CONFIG_RETRY_TIME_PLACEHOLDER
      The placeholder of configRetryTime, the value is "${nacos.configRetryTime:}".
      另请参阅:
      常量字段值
    • MAX_RETRY_PLACEHOLDER

      static final String MAX_RETRY_PLACEHOLDER
      The placeholder of maxRetry, the value is "${nacos.maxRetry:}".
      另请参阅:
      常量字段值
    • ENABLE_REMOTE_SYNC_CONFIG_PLACEHOLDER

      static final String ENABLE_REMOTE_SYNC_CONFIG_PLACEHOLDER
      The placeholder of enableRemoteSyncConfig, the value is "${nacos.enableRemoteSyncConfig:}".
      另请参阅:
      常量字段值
    • USERNAME_PLACEHOLDER

      static final String USERNAME_PLACEHOLDER
      The placeholder of endpoint, the value is "${nacos.username:}".
      另请参阅:
      常量字段值
    • PASSWORD_PLACEHOLDER

      static final String PASSWORD_PLACEHOLDER
      The placeholder of endpoint, the value is "${nacos.password:}".
      另请参阅:
      常量字段值
  • 元素详细资料

    • endpoint

      String endpoint
      The property of "endpoint".
      返回:
      empty as default value
      另请参阅:
      ENDPOINT_PLACEHOLDER
      默认值:
      "${nacos.endpoint:}"
    • namespace

      String namespace
      The property of "namespace".
      返回:
      empty as default value
      另请参阅:
      NAMESPACE_PLACEHOLDER
      默认值:
      "${nacos.namespace:}"
    • accessKey

      String accessKey
      The property of "access-key".
      返回:
      empty as default value
      另请参阅:
      ACCESS_KEY_PLACEHOLDER
      默认值:
      "${nacos.access-key:}"
    • secretKey

      String secretKey
      The property of "secret-key".
      返回:
      empty as default value
      另请参阅:
      SECRET_KEY_PLACEHOLDER
      默认值:
      "${nacos.secret-key:}"
    • serverAddr

      String serverAddr
      The property of "server-addr".
      返回:
      empty as default value
      另请参阅:
      SERVER_ADDR_PLACEHOLDER
      默认值:
      "${nacos.server-addr:}"
    • contextPath

      String contextPath
      The property of "context-path".
      返回:
      empty as default value
      另请参阅:
      CONTEXT_PATH_PLACEHOLDER
      默认值:
      "${nacos.context-path:}"
    • clusterName

      String clusterName
      The property of "cluster-name".
      返回:
      empty as default value
      另请参阅:
      CLUSTER_NAME_PLACEHOLDER
      默认值:
      "${nacos.cluster-name:}"
    • encode

      String encode
      The property of "encode".
      返回:
      "UTF-8" as default value
      另请参阅:
      ENCODE_PLACEHOLDER
      默认值:
      "${nacos.encode:UTF-8}"
    • configLongPollTimeout

      String configLongPollTimeout
      The property of "configLongPollTimeout".
      返回:
      empty as default value
      另请参阅:
      CONFIG_LONG_POLL_TIMEOUT_PLACEHOLDER
      默认值:
      "${nacos.configLongPollTimeout:}"
    • configRetryTime

      String configRetryTime
      The property of "configRetryTime".
      返回:
      empty as default value
      另请参阅:
      CONFIG_RETRY_TIME_PLACEHOLDER
      默认值:
      "${nacos.configRetryTime:}"
    • maxRetry

      String maxRetry
      The property of "maxRetry".
      返回:
      empty as default value
      另请参阅:
      MAX_RETRY
      默认值:
      "${nacos.maxRetry:}"
    • enableRemoteSyncConfig

      String enableRemoteSyncConfig
      The property of "enableRemoteSyncConfig".
      返回:
      empty as default value
      另请参阅:
      ENABLE_REMOTE_SYNC_CONFIG
      默认值:
      "${nacos.enableRemoteSyncConfig:}"
    • username

      String username
      The property of "username".
      返回:
      empty as default value
      另请参阅:
      USERNAME_PLACEHOLDER
      默认值:
      "${nacos.username:}"
    • password

      String password
      The property of "password".
      返回:
      empty as default value
      另请参阅:
      PASSWORD_PLACEHOLDER
      默认值:
      "${nacos.password:}"