Interface ClientHighAvailabilityServices

All Superinterfaces:
AutoCloseable
All Known Subinterfaces:
HighAvailabilityServices
All Known Implementing Classes:
AbstractHaServices, AbstractNonHaServices, EmbeddedHaServices, EmbeddedHaServicesWithLeadershipControl, StandaloneClientHAServices, StandaloneHaServices, ZooKeeperClientHAServices, ZooKeeperLeaderElectionHaServices

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.
  • Method Details

    • getClusterRestEndpointLeaderRetriever

      LeaderRetrievalService getClusterRestEndpointLeaderRetriever()
      Get the leader retriever for the cluster's rest endpoint.
      Returns:
      the leader retriever for cluster's rest endpoint.