Package | Description |
---|---|
org.springframework.boot.actuate.health |
Actuator health indicators.
|
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 value)
Record detail using given
key and value . |
Health.Builder |
Health.Builder.withException(Exception ex)
Record detail for given
Exception . |
Modifier and Type | Method and Description |
---|---|
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 |
MailHealthIndicator.doHealthCheck(Health.Builder builder) |
protected void |
LdapHealthIndicator.doHealthCheck(Health.Builder builder) |
protected void |
JmsHealthIndicator.doHealthCheck(Health.Builder builder) |
protected void |
ElasticsearchJestHealthIndicator.doHealthCheck(Health.Builder builder) |
protected void |
ElasticsearchHealthIndicator.doHealthCheck(Health.Builder builder) |
protected void |
DiskSpaceHealthIndicator.doHealthCheck(Health.Builder builder) |
protected void |
DataSourceHealthIndicator.doHealthCheck(Health.Builder builder) |
protected void |
CouchbaseHealthIndicator.doHealthCheck(Health.Builder builder) |
protected void |
CassandraHealthIndicator.doHealthCheck(Health.Builder builder) |
protected void |
ApplicationHealthIndicator.doHealthCheck(Health.Builder builder) |
protected abstract void |
AbstractHealthIndicator.doHealthCheck(Health.Builder builder)
Actual health check logic.
|
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.