Package | Description |
---|---|
org.apache.sling.hc.api.execution | |
org.apache.sling.hc.core.impl.executor |
Modifier and Type | Method and Description |
---|---|
HealthCheckMetadata |
HealthCheckExecutionResult.getHealthCheckMetadata()
Get the meta data about the health check service
|
Modifier and Type | Method and Description |
---|---|
HealthCheckMetadata |
ExecutionResult.getHealthCheckMetadata() |
Modifier and Type | Method and Description |
---|---|
HealthCheckExecutionResult |
HealthCheckResultCache.useValidCacheResults(HealthCheckMetadata metadata,
long resultCacheTtlInMs)
Return the cached result if it's still valid.
|
Modifier and Type | Method and Description |
---|---|
void |
HealthCheckResultCache.useValidCacheResults(List<HealthCheckMetadata> metadatas,
Collection<HealthCheckExecutionResult> results,
long resultCacheTtlInMs)
Get the valid cache results
|
Constructor and Description |
---|
ExecutionResult(HealthCheckMetadata metadata,
Result.Status status,
String errorMessage,
long elapsedTime,
boolean timedOut)
Shortcut constructor to create error/timed out result.
|
ExecutionResult(HealthCheckMetadata metadata,
Result simpleResult,
long elapsedTimeInMs)
Shortcut constructor for a result
|
ExecutionResult(HealthCheckMetadata metadata,
Result simpleResult,
long elapsedTimeInMs,
boolean timedout)
Full constructor
|
Copyright © 2013–2014 The Apache Software Foundation. All rights reserved.