HealthChecks

org.apache.pekko.management.javadsl.HealthChecks
final class HealthChecks(system: ExtendedActorSystem, settings: HealthCheckSettings)

Can be used to instantiate health checks directly rather than rely on the automatic management route. Useful if want to host the health check via a protocol other than HTTP or not in the Pekko Management HTTP server

Attributes

Source
HealthChecks.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Returns CompletionStage(result) containing the system's liveness result

Returns CompletionStage(result) containing the system's liveness result

Attributes

Source
HealthChecks.scala

Returns CompletionStage(true) to indicate that the process is alive but does not mean that it is ready to receive traffic e.g. is has not joined the cluster or is loading initial state from a database

Returns CompletionStage(true) to indicate that the process is alive but does not mean that it is ready to receive traffic e.g. is has not joined the cluster or is loading initial state from a database

Attributes

Source
HealthChecks.scala

Returns CompletionStage(true) if the system is ready to receive user traffic

Returns CompletionStage(true) if the system is ready to receive user traffic

Attributes

Source
HealthChecks.scala

Returns CompletionStage(result), containing the system's readiness result

Returns CompletionStage(result), containing the system's readiness result

Attributes

Source
HealthChecks.scala

Returns CompletionStage(true) if the system has started

Returns CompletionStage(true) if the system has started

Attributes

Source
HealthChecks.scala

Returns CompletionStage(result), containing the system's startup result

Returns CompletionStage(result), containing the system's startup result

Attributes

Source
HealthChecks.scala