类 CredentialWatcher


  • public class CredentialWatcher
    extends java.lang.Object
    Credential Watcher.
    作者:
    Nacos
    • 字段详细资料

      • SPAS_LOGGER

        private static final org.slf4j.Logger SPAS_LOGGER
      • REFRESH_INTERVAL

        private static final long REFRESH_INTERVAL
        另请参阅:
        常量字段值
      • appName

        private final java.lang.String appName
      • propertyPath

        private java.lang.String propertyPath
      • stopped

        private boolean stopped
      • executor

        private final java.util.concurrent.ScheduledExecutorService executor
    • 构造器详细资料

      • CredentialWatcher

        public CredentialWatcher​(java.lang.String appName,
                                 CredentialService serviceInstance)
    • 方法详细资料

      • stop

        public void stop()
        Stop watcher.
      • loadCredential

        private void loadCredential​(boolean init)