类 CredentialWatcher
- java.lang.Object
-
- com.alibaba.nacos.client.auth.ram.identify.CredentialWatcher
-
public class CredentialWatcher extends java.lang.ObjectCredential Watcher.- 作者:
- Nacos
-
-
字段概要
字段 修饰符和类型 字段 说明 private java.lang.StringappNameprivate java.util.concurrent.ScheduledExecutorServiceexecutorprivate java.lang.StringpropertyPathprivate static longREFRESH_INTERVALprivate CredentialServiceserviceInstanceprivate static org.slf4j.LoggerSPAS_LOGGERprivate booleanstopped
-
构造器概要
构造器 构造器 说明 CredentialWatcher(java.lang.String appName, CredentialService serviceInstance)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 private voidloadCredential(boolean init)voidstop()Stop watcher.
-
-
-
字段详细资料
-
SPAS_LOGGER
private static final org.slf4j.Logger SPAS_LOGGER
-
REFRESH_INTERVAL
private static final long REFRESH_INTERVAL
- 另请参阅:
- 常量字段值
-
serviceInstance
private final CredentialService serviceInstance
-
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)
-
-