public class ZooKeeperClientHAServices extends Object implements ClientHighAvailabilityServices
ClientHighAvailabilityServices.| Constructor and Description |
|---|
ZooKeeperClientHAServices(org.apache.curator.framework.CuratorFramework client,
org.apache.flink.configuration.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
LeaderRetrievalService |
getClusterRestEndpointLeaderRetriever()
Get the leader retriever for the cluster's rest endpoint.
|
public LeaderRetrievalService getClusterRestEndpointLeaderRetriever()
ClientHighAvailabilityServicesgetClusterRestEndpointLeaderRetriever in interface ClientHighAvailabilityServicespublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.