@ConfigurationProperties(prefix="endpoints.health", ignoreUnknownFields=true) public class HealthEndpoint extends AbstractEndpoint<Health>
Endpoint
to expose application health.Constructor and Description |
---|
HealthEndpoint(HealthAggregator healthAggregator,
Map<String,HealthIndicator> healthIndicators)
Create a new
HealthIndicator instance. |
Modifier and Type | Method and Description |
---|---|
Health |
invoke()
Invoke all
HealthIndicator delegates and collect their health information. |
getId, isEnabled, isSensitive, setEnabled, setId, setSensitive
public HealthEndpoint(HealthAggregator healthAggregator, Map<String,HealthIndicator> healthIndicators)
HealthIndicator
instance.public Health invoke()
HealthIndicator
delegates and collect their health information.Copyright © 2014 Pivotal Software, Inc.. All rights reserved.