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
ClientHighAvailabilityServicesprovides 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LeaderRetrievalServicegetClusterRestEndpointLeaderRetriever()Get the leader retriever for the cluster's rest endpoint.-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
getClusterRestEndpointLeaderRetriever
LeaderRetrievalService getClusterRestEndpointLeaderRetriever()
Get the leader retriever for the cluster's rest endpoint.- Returns:
- the leader retriever for cluster's rest endpoint.
-
-