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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LeaderRetrievalService
getClusterRestEndpointLeaderRetriever()
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.
-
-