Package cn.sliew.flinkful.rest.http
Class SavepointHttpClient
- java.lang.Object
-
- cn.sliew.flinkful.rest.http.AsyncClient
-
- cn.sliew.flinkful.rest.http.SavepointHttpClient
-
- All Implemented Interfaces:
cn.sliew.flinkful.rest.base.SavepointClient
public class SavepointHttpClient extends AsyncClient implements cn.sliew.flinkful.rest.base.SavepointClient
-
-
Constructor Summary
Constructors Constructor Description SavepointHttpClient(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.async.TriggerResponse>savepointDisposal(org.apache.flink.runtime.rest.messages.job.savepoints.SavepointDisposalRequest requestBody)java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.handler.async.AsynchronousOperationResult<org.apache.flink.runtime.rest.handler.async.AsynchronousOperationInfo>>savepointDisposalResult(java.lang.String triggerId)-
Methods inherited from class cn.sliew.flinkful.rest.http.AsyncClient
remoteCall, remoteCall, remoteCall
-
-
-
-
Method Detail
-
savepointDisposal
public java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.handler.async.TriggerResponse> savepointDisposal(org.apache.flink.runtime.rest.messages.job.savepoints.SavepointDisposalRequest requestBody) throws java.io.IOException- Specified by:
savepointDisposalin interfacecn.sliew.flinkful.rest.base.SavepointClient- Throws:
java.io.IOException
-
savepointDisposalResult
public java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.handler.async.AsynchronousOperationResult<org.apache.flink.runtime.rest.handler.async.AsynchronousOperationInfo>> savepointDisposalResult(java.lang.String triggerId) throws java.io.IOException- Specified by:
savepointDisposalResultin interfacecn.sliew.flinkful.rest.base.SavepointClient- Throws:
java.io.IOException
-
-