Class StandaloneClientHAServices
java.lang.Object
org.apache.flink.runtime.highavailability.nonha.standalone.StandaloneClientHAServices
- All Implemented Interfaces:
AutoCloseable,ClientHighAvailabilityServices
Non-HA implementation for
ClientHighAvailabilityServices. The address to web monitor is
pre-configured.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Get the leader retriever for the cluster's rest endpoint.
-
Constructor Details
-
StandaloneClientHAServices
-
-
Method Details
-
getClusterRestEndpointLeaderRetriever
Description copied from interface:ClientHighAvailabilityServicesGet the leader retriever for the cluster's rest endpoint.- Specified by:
getClusterRestEndpointLeaderRetrieverin interfaceClientHighAvailabilityServices- Returns:
- the leader retriever for cluster's rest endpoint.
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-