public class RequireConfigurationElasticHealthCheck extends ElasticHealthCheck
ElasticHealthCheckthat requires configuration to be present in order to actually verify the connection. This is required as some features may be installed but the connection to Elasticsearch may not be configured yet, meaning the
health:checkwould always fail, which may not be the desired behaviour.
|Constructor and Description|
|Modifier and Type||Method and Description|
Implements the check itself, e.g.
HealthCheckService, it is advised that all timeout restrictions etc are handled by the service instead of the
HealthCheckimplementation. Implementations might throw an Exception, which should be handled by the
HealthCheckServiceas well. The response indicates if the check was successful, or encountered other problems. If null is returned, the
HealthCheckServiceshould consider this as
Copyright © 2020. All rights reserved.