Interface IElasticsearchHealthClient
- Namespace
- Excalibur.Data.ElasticSearch
- Assembly
- Excalibur.Data.ElasticSearch.dll
Represents a client for performing Elasticsearch health checks.
public interface IElasticsearchHealthClient
Methods
GetClusterHealthAsync(CancellationToken)
Gets the cluster health status from Elasticsearch.
Task<HealthResponse> GetClusterHealthAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task<HealthResponse>
The cluster health response.