public class StandaloneClientHAServices extends Object implements ClientHighAvailabilityServices
ClientHighAvailabilityServices. The address to web monitor is
pre-configured.| Constructor and Description |
|---|
StandaloneClientHAServices(String webMonitorAddress) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
LeaderRetrievalService |
getClusterRestEndpointLeaderRetriever()
Get the leader retriever for the cluster's rest endpoint.
|
public StandaloneClientHAServices(String webMonitorAddress)
public LeaderRetrievalService getClusterRestEndpointLeaderRetriever()
ClientHighAvailabilityServicesgetClusterRestEndpointLeaderRetriever in interface ClientHighAvailabilityServicespublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.