Package com.linecorp.armeria.server.healthcheck
@NonNullByDefault
package com.linecorp.armeria.server.healthcheck
HTTP health check service for load balancers.
-
InterfaceDescriptionDetermines whether the
Server
is healthy.A listener interface for receivingHealthCheckService
update events.AHealthChecker
which notifies its state change to its listeners. -
ClassDescriptionAn
HttpService
that responds with HTTP status"200 OK"
if the server is healthy and can accept requests and HTTP status"503 Service Not Available"
if the server is unhealthy and cannot accept requests.Builds aHealthCheckService
.The result of health check with interval for next check.A simpleListenableHealthChecker
whose state can be set by a caller.