public class ZooKeeperClientHAServices extends Object implements ClientHighAvailabilityServices
ClientHighAvailabilityServices.| Constructor and Description |
|---|
ZooKeeperClientHAServices(CuratorFrameworkWithUnhandledErrorListener curatorFrameworkWrapper,
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 ZooKeeperClientHAServices(@Nonnull CuratorFrameworkWithUnhandledErrorListener curatorFrameworkWrapper, @Nonnull org.apache.flink.configuration.Configuration configuration)
public LeaderRetrievalService getClusterRestEndpointLeaderRetriever()
ClientHighAvailabilityServicesgetClusterRestEndpointLeaderRetriever in interface ClientHighAvailabilityServicespublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.