@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.
|
getPath, getProduces, isSensitive, setPath, setSensitive
public HealthEndpoint(HealthIndicator<? extends T> indicator)
HealthIndicator
instance.indicator
- the health indicatorCopyright © 2013. All rights reserved.