public class RemoteConfigServerHealthIndicator
extends org.springframework.boot.actuate.health.AbstractHealthIndicator
| 限定符和类型 | 字段和说明 |
|---|---|
private org.springframework.core.env.CompositePropertySource |
cached |
private static String |
CACHED_PROPERTY_SOURCE_NAME |
private ConfigClientHealthInfo |
configClientHealthInfo |
private org.springframework.core.env.Environment |
environment |
private long |
lastAccess |
private CompositeAppPropertySourceLocator |
locatorCollection |
| 构造器和说明 |
|---|
RemoteConfigServerHealthIndicator(CompositeAppPropertySourceLocator locatorCollection,
org.springframework.core.env.Environment environment,
ConfigClientHealthInfo configClientHealthInfo) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) |
private org.springframework.core.env.PropertySource<?> |
getPropertySource() |
private boolean |
isCacheStale(long accessTime) |
private static final String CACHED_PROPERTY_SOURCE_NAME
private CompositeAppPropertySourceLocator locatorCollection
private ConfigClientHealthInfo configClientHealthInfo
private org.springframework.core.env.Environment environment
private long lastAccess
private org.springframework.core.env.CompositePropertySource cached
public RemoteConfigServerHealthIndicator(CompositeAppPropertySourceLocator locatorCollection, org.springframework.core.env.Environment environment, ConfigClientHealthInfo configClientHealthInfo)
protected void doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder)
throws Exception
doHealthCheck 在类中 org.springframework.boot.actuate.health.AbstractHealthIndicatorExceptionprivate org.springframework.core.env.PropertySource<?> getPropertySource()
private boolean isCacheStale(long accessTime)
Copyright © 2022 Zodiac. All rights reserved.