@Property(name="hc.name",value="Synchronized Clocks",description="Health Check name",label="Name") @Property(name="hc.tags",unbounded=ARRAY,description="Health Check tags",label="Tags") @Property(name="hc.mbean.name",value="slingDiscoveryOakSynchronizedClocks",description="Health Check MBean name",label="MBean name") @Service(value=HealthCheck.class) public class SynchronizedClocksHealthCheck extends java.lang.Object implements HealthCheck
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
ASYNC_CRON_EXPRESSION, MBEAN_NAME, NAME, RESULT_CACHE_TTL_IN_MS, TAGS, WARNINGS_STICK_FOR_MINUTES| Constructor and Description |
|---|
SynchronizedClocksHealthCheck() |
| Modifier and Type | Method and Description |
|---|---|
Result |
execute()
Execute this health check and return a
Result
This is meant to execute quickly, access to external
systems, for example, should be managed asynchronously. |
public Result execute()
HealthCheckResult
This is meant to execute quickly, access to external
systems, for example, should be managed asynchronously.execute in interface HealthCheckCopyright © 2018 The Apache Software Foundation. All rights reserved.