Package | Description |
---|---|
org.springframework.boot.actuate.health |
Modifier and Type | Method and Description |
---|---|
static Health.Builder |
Health.down()
Create a new
Health.Builder instance with a Status.DOWN status. |
Health.Builder |
Health.Builder.down()
Set status to
Status.DOWN . |
static Health.Builder |
Health.down(Exception ex)
Create a new
Health.Builder instance with an Status.DOWN status an the
specified exception details. |
Health.Builder |
Health.Builder.down(Exception ex)
Set status to
Status.DOWN and add details for given Exception . |
static Health.Builder |
Health.outOfService()
Create a new
Health.Builder instance with an Status.OUT_OF_SERVICE status. |
Health.Builder |
Health.Builder.outOfService()
Set status to
Status.OUT_OF_SERVICE . |
static Health.Builder |
Health.status(Status status)
Create a new
Health.Builder instance with a specific Status . |
Health.Builder |
Health.Builder.status(Status status)
Set status to given
Status instance |
static Health.Builder |
Health.status(String statusCode)
Create a new
Health.Builder instance with a specific status code. |
Health.Builder |
Health.Builder.status(String statusCode)
Set status to given
statusCode . |
static Health.Builder |
Health.unknown()
Create a new
Health.Builder instance with an Status.UNKNOWN status. |
Health.Builder |
Health.Builder.unknown()
Set status to
Status.UNKNOWN status. |
static Health.Builder |
Health.up()
Create a new
Health.Builder instance with an Status.UP status. |
Health.Builder |
Health.Builder.up()
Set status to
Status.UP status. |
Health.Builder |
Health.Builder.withDetail(String key,
Object data)
Record detail using
key and value . |
Health.Builder |
Health.Builder.withException(Exception ex)
Record detail for given
Exception . |
Modifier and Type | Method and Description |
---|---|
protected void |
VanillaHealthIndicator.doHealthCheck(Health.Builder builder) |
protected void |
SolrHealthIndicator.doHealthCheck(Health.Builder builder) |
protected void |
RedisHealthIndicator.doHealthCheck(Health.Builder builder) |
protected void |
RabbitHealthIndicator.doHealthCheck(Health.Builder builder) |
protected void |
MongoHealthIndicator.doHealthCheck(Health.Builder builder) |
protected void |
DataSourceHealthIndicator.doHealthCheck(Health.Builder builder) |
protected abstract void |
AbstractHealthIndicator.doHealthCheck(Health.Builder builder)
Actual health check logic.
|
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.