Interface ClientHighAvailabilityServices
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
HighAvailabilityServices
- All Known Implementing Classes:
AbstractHaServices,AbstractNonHaServices,EmbeddedHaServices,EmbeddedHaServicesWithLeadershipControl,StandaloneClientHAServices,StandaloneHaServices,ZooKeeperClientHAServices,ZooKeeperLeaderElectionHaServices
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 Summary
Modifier and TypeMethodDescriptionGet the leader retriever for the cluster's rest endpoint.Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
getClusterRestEndpointLeaderRetriever
LeaderRetrievalService getClusterRestEndpointLeaderRetriever()Get the leader retriever for the cluster's rest endpoint.- Returns:
- the leader retriever for cluster's rest endpoint.
-