com.github.vonnagy.service.container

health

package health

Visibility
  1. Public
  2. All

Type Members

  1. case class CheckHealth() extends Product with Serializable

    This message is used to ask for health information

  2. case class ContainerHealth(host: String, applicationName: String, applicationVersion: String, containerVersion: String, time: DateTime, state: HealthState, details: String, checks: Seq[HealthInfo] = Seq.empty) extends Product with Serializable

  3. case class GetHealth() extends Product with Serializable

  4. trait HealthCheck extends AnyRef

  5. class HealthCheckExtension extends Extension

  6. class HealthEndpoints extends RoutedEndpoints with HealthProvider with CIDRDirectives

    The REST endpoints for checking the system's health

  7. case class HealthInfo(name: String, state: HealthState = HealthState.OK, details: String, extra: Option[AnyRef] = None, checks: List[HealthInfo] = List.empty) extends Product with Serializable

    The health check is used to define a subset of functionality that can be asked of it's state.

    The health check is used to define a subset of functionality that can be asked of it's state. It can contain optional child checks.

    name

    The name of the check

    state

    The current state of the check (defaults to OK)

    extra

    Any extra information

  8. trait HealthProvider extends LoggingAdapter

  9. trait RegisteredHealthCheck extends HealthCheck

  10. trait RegisteredHealthCheckActor extends HealthCheck

    This register the actor as a health check.

    This register the actor as a health check. When the system calls for its health the internal getHealth method sends itself a GetHealth message. The actor should respond back with an instance of HealthInfo

Value Members

  1. object ContainerInfo extends LoggingAdapter

    Created by Ivan von Nagy on 1/12/15.

  2. object Health extends ExtensionId[HealthCheckExtension] with ExtensionIdProvider

  3. object HealthState extends Enumeration

Ungrouped