Example usage for org.springframework.boot.actuate.health CompositeHealthIndicator CompositeHealthIndicator

List of usage examples for org.springframework.boot.actuate.health CompositeHealthIndicator CompositeHealthIndicator

Introduction

In this page you can find the example usage for org.springframework.boot.actuate.health CompositeHealthIndicator CompositeHealthIndicator.

Prototype

public CompositeHealthIndicator(HealthAggregator healthAggregator, HealthIndicatorRegistry registry) 

Source Link

Document

Create a new CompositeHealthIndicator from the indicators in the given registry .

Usage

From source file:com.netflix.spinnaker.kork.eureka.BootHealthCheckHandler.java

public BootHealthCheckHandler(ApplicationInfoManager applicationInfoManager, HealthAggregator aggregator,
        Map<String, HealthIndicator> healthIndicators) {
    this.applicationInfoManager = Precondition.notNull(applicationInfoManager, "applicationInfoManager");
    this.aggregateHealth = new CompositeHealthIndicator(aggregator, healthIndicators);
}