@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface ProxyServerContext extends ServerContext
Modifier and Type | Method and Description |
---|---|
HealthCheckResult |
aggregate(java.util.List<HealthCheckResult> results)
Aggregates the information contained in the provided list of health check
results into a single result.
|
HealthCheckResult |
createHealthCheckResult(HealthCheckState state,
int score,
java.util.List<java.lang.String> messages)
Creates a health check result with the provided information.
|
HealthCheckResult |
createHealthCheckResult(HealthCheckState state,
int score,
java.lang.String... messages)
Creates a health check result with the provided information.
|
createThread, debugCaught, debugEnabled, debugError, debugInfo, debugThrown, debugVerbose, debugWarning, deregisterAllMonitorProviders, deregisterChangeListener, deregisterDiskSpaceConsumer, deregisterMonitorProvider, deregisterShutdownListener, deregisterSupportedControlOID, getBasicProductName, getClientConnection, getClientRootConnection, getCompactProductName, getFullProductName, getFullVendorName, getFullVersion, getInstanceName, getInternalConnection, getInternalRootConnection, getLocation, getMajorVersionNumber, getMinorVersionNumber, getPackageName, getPatchVersionNumber, getPointVersionNumber, getSchema, getServerRoot, getShortVendorName, getSourceRevision, getStartTime, getStartupID, getStartupUUID, getToolExecutor, getVersionNumber, getVersionQualifier, isDirectoryFunctionalityAvailable, isDirectoryProxyFunctionalityAvailable, isRunning, isShuttingDown, isStarting, isSyncFunctionalityAvailable, logMessage, registerChangeListener, registerDiskSpaceConsumer, registerMonitorProvider, registerShutdownListener, registerSupportedControlOID, sendAlert, sendAlert, sendDegradedAlertNotification, sendUnavailableAlertNotification
HealthCheckResult createHealthCheckResult(HealthCheckState state, int score, java.lang.String... messages)
state
- The health check state for the result. It must not be
null
.score
- The score for the result. It must be an integer value
between 1 and 10 for a state of AVAILABLE or DEGRADED, or
zero for a state of UNAVAILABLE.messages
- A set of messages with additional information about the
reason for the provided state and score. It may be
null
or empty if no messages are needed.HealthCheckResult createHealthCheckResult(HealthCheckState state, int score, java.util.List<java.lang.String> messages)
state
- The health check state for the result. It must not be
null
.score
- The score for the result. It must be an integer value
between 1 and 10 for a state of AVAILABLE or DEGRADED, or
zero for a state of UNAVAILABLE.messages
- A set of messages with additional information about the
reason for the provided state and score. It may be
null
or empty if no messages are needed.HealthCheckResult aggregate(java.util.List<HealthCheckResult> results)
results
- The list of health check results to be aggregated. It
must not be null
or empty.