public interface ClientHighAvailabilityServices extends AutoCloseable
ClientHighAvailabilityServices
provides services those are required on client-side. At
the moment only the REST endpoint leader retriever is required because all communication between
the client and cluster happens via the REST endpoint.Modifier and Type | Method and Description |
---|---|
LeaderRetrievalService |
getClusterRestEndpointLeaderRetriever()
Get the leader retriever for the cluster's rest endpoint.
|
close
LeaderRetrievalService getClusterRestEndpointLeaderRetriever()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.