Package com.linecorp.armeria.server.healthcheck
@NonNullByDefault
package com.linecorp.armeria.server.healthcheck
HTTP health check service for load balancers.
-
ClassDescriptionDetermines whether the
Server
is healthy.AnHttpService
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 listener interface for receivingHealthCheckService
update events.The result of a request handled byHealthCheckUpdateHandler
.AHealthChecker
which notifies its state change to its listeners.A simpleListenableHealthChecker
whose state can be set by a caller.