Class 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SavepointHttpClient

        public SavepointHttpClient​(okhttp3.OkHttpClient client,
                                   java.lang.String webInterfaceURL)
    • 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:
        savepointDisposal in interface cn.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:
        savepointDisposalResult in interface cn.sliew.flinkful.rest.base.SavepointClient
        Throws:
        java.io.IOException