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()
ClientHighAvailabilityServices
getClusterRestEndpointLeaderRetriever
in interface ClientHighAvailabilityServices
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.