类 SavepointTriggerRequestBody

  • 所有已实现的接口:
    org.apache.flink.runtime.rest.messages.RequestBody

    public class SavepointTriggerRequestBody
    extends java.lang.Object
    implements org.apache.flink.runtime.rest.messages.RequestBody
    RequestBody to trigger savepoints.
    • 构造器概要

      构造器 
      构造器 说明
      SavepointTriggerRequestBody​(java.lang.String targetDirectory, java.lang.Boolean cancelJob, org.apache.flink.core.execution.SavepointFormatType formatType, org.apache.flink.runtime.rest.messages.TriggerId triggerId)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      org.apache.flink.core.execution.SavepointFormatType getFormatType()  
      java.util.Optional<java.lang.String> getTargetDirectory()  
      java.util.Optional<org.apache.flink.runtime.rest.messages.TriggerId> getTriggerId()  
      boolean isCancelJob()  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • FIELD_NAME_TARGET_DIRECTORY

        public static final java.lang.String FIELD_NAME_TARGET_DIRECTORY
        另请参阅:
        常量字段值
    • 构造器详细资料

      • SavepointTriggerRequestBody

        public SavepointTriggerRequestBody​(@Nullable
                                           java.lang.String targetDirectory,
                                           @Nullable
                                           java.lang.Boolean cancelJob,
                                           @Nullable
                                           org.apache.flink.core.execution.SavepointFormatType formatType,
                                           @Nullable
                                           org.apache.flink.runtime.rest.messages.TriggerId triggerId)
    • 方法详细资料

      • getTargetDirectory

        public java.util.Optional<java.lang.String> getTargetDirectory()
      • getTriggerId

        public java.util.Optional<org.apache.flink.runtime.rest.messages.TriggerId> getTriggerId()
      • isCancelJob

        public boolean isCancelJob()
      • getFormatType

        public org.apache.flink.core.execution.SavepointFormatType getFormatType()