final class HealthChecks extends AnyRef
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 Akka Management HTTP server
- Source
- HealthChecks.scala
- Alphabetic
- By Inheritance
- HealthChecks
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new HealthChecks(system: ExtendedActorSystem, settings: HealthCheckSettings)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def alive(): CompletionStage[Boolean]
Returns CompletionStage(result) containing the system's liveness result
- def aliveResult(): CompletionStage[CheckResult]
Returns CompletionStage(true) to indicate that the process is alive but does not mean that it is ready to receive traffic e.g.
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def ready(): CompletionStage[Boolean]
Returns CompletionStage(true) if the system is ready to receive user traffic
- def readyResult(): CompletionStage[CheckResult]
Returns CompletionStage(result), containing the system's readiness result
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()