Package

com.github.vonnagy.service.container

health

Permalink

package health

Visibility
  1. Public
  2. All

Type Members

  1. case class CheckHealth() extends Product with Serializable

    Permalink

    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

    Permalink
  3. case class GetHealth() extends Product with Serializable

    Permalink
  4. trait HealthCheck extends AnyRef

    Permalink
  5. class HealthCheckExtension extends Extension

    Permalink
  6. class HealthEndpoints extends RoutedEndpoints with HealthProvider with CIDRDirectives with DefaultMarshallers

    Permalink

    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

    Permalink

    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

    Permalink
  9. trait RegisteredHealthCheck extends HealthCheck

    Permalink
  10. trait RegisteredHealthCheckActor extends HealthCheck

    Permalink

    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

    Permalink

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

  2. object Health extends ExtensionId[HealthCheckExtension] with ExtensionIdProvider

    Permalink
  3. object HealthState extends Enumeration

    Permalink

Ungrouped