类 StopWithSavepointRequestBody
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.job.savepoints.stop.StopWithSavepointRequestBody
-
- 所有已实现的接口:
org.apache.flink.runtime.rest.messages.RequestBody
public class StopWithSavepointRequestBody extends java.lang.Object implements org.apache.flink.runtime.rest.messages.RequestBodyRequestBodyfor stopping a job with a savepoint.
-
-
字段概要
字段 修饰符和类型 字段 说明 static java.lang.StringFIELD_NAME_FORMAT_TYPEstatic java.lang.StringFIELD_NAME_TARGET_DIRECTORY
-
构造器概要
构造器 构造器 说明 StopWithSavepointRequestBody(java.lang.String targetDirectory, java.lang.Boolean drain, org.apache.flink.core.execution.SavepointFormatType formatType, org.apache.flink.runtime.rest.messages.TriggerId triggerId)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.apache.flink.core.execution.SavepointFormatTypegetFormatType()java.util.Optional<java.lang.String>getTargetDirectory()java.util.Optional<org.apache.flink.runtime.rest.messages.TriggerId>getTriggerId()booleanshouldDrain()
-
-
-
方法详细资料
-
getTargetDirectory
public java.util.Optional<java.lang.String> getTargetDirectory()
-
shouldDrain
public boolean shouldDrain()
-
getTriggerId
public java.util.Optional<org.apache.flink.runtime.rest.messages.TriggerId> getTriggerId()
-
getFormatType
public org.apache.flink.core.execution.SavepointFormatType getFormatType()
-
-