@Endpoint(id="status", defaultEnablement=ENABLED) public class StatusEndpoint extends Object
Constructor and Description |
---|
StatusEndpoint(HealthIndicator healthIndicator)
Create a new
StatusEndpoint instance. |
public StatusEndpoint(HealthIndicator healthIndicator)
StatusEndpoint
instance.healthIndicator
- the health indicator@ReadOperation public Health health()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.