Package cn.sliew.flinkful.rest.http
Class ClusterHttpClient
- java.lang.Object
-
- cn.sliew.flinkful.rest.http.AsyncClient
-
- cn.sliew.flinkful.rest.http.ClusterHttpClient
-
- All Implemented Interfaces:
cn.sliew.flinkful.rest.base.ClusterClient
public class ClusterHttpClient extends AsyncClient implements cn.sliew.flinkful.rest.base.ClusterClient
-
-
Constructor Summary
Constructors Constructor Description ClusterHttpClient(okhttp3.OkHttpClient client, java.lang.String webInterfaceURL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.handler.legacy.messages.ClusterOverviewWithVersion>overview()java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.messages.EmptyResponseBody>shutdownCluster()-
Methods inherited from class cn.sliew.flinkful.rest.http.AsyncClient
remoteCall, remoteCall, remoteCall
-
-
-
-
Method Detail
-
overview
public java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.handler.legacy.messages.ClusterOverviewWithVersion> overview() throws java.io.IOException- Specified by:
overviewin interfacecn.sliew.flinkful.rest.base.ClusterClient- Throws:
java.io.IOException
-
shutdownCluster
public java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.messages.EmptyResponseBody> shutdownCluster() throws java.io.IOException- Specified by:
shutdownClusterin interfacecn.sliew.flinkful.rest.base.ClusterClient- Throws:
java.io.IOException
-
-