@ConfigurationProperties(name="endpoints.health", ignoreUnknownFields=false) public class HealthEndpoint<T> extends AbstractEndpoint<T>
Endpoint
to expose application health.Constructor and Description |
---|
HealthEndpoint(HealthIndicator<? extends T> indicator)
Create a new
HealthIndicator instance. |
Modifier and Type | Method and Description |
---|---|
T |
invoke()
Called to invoke the endpoint.
|
getId, isEnabled, isSensitive, setEnabled, setId, setSensitive
public HealthEndpoint(HealthIndicator<? extends T> indicator)
HealthIndicator
instance.indicator
- the health indicatorCopyright © 2014. All rights reserved.