Class StopWithSavepointRequestBody
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.job.savepoints.stop.StopWithSavepointRequestBody
-
- All Implemented Interfaces:
RequestBody
public class StopWithSavepointRequestBody extends Object implements RequestBody
RequestBodyfor stopping a job with a savepoint.
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELD_NAME_FORMAT_TYPEstatic StringFIELD_NAME_TARGET_DIRECTORY
-
Constructor Summary
Constructors Constructor Description StopWithSavepointRequestBody(String targetDirectory, Boolean drain, org.apache.flink.core.execution.SavepointFormatType formatType, TriggerId triggerId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.core.execution.SavepointFormatTypegetFormatType()Optional<String>getTargetDirectory()Optional<TriggerId>getTriggerId()booleanshouldDrain()
-
-
-
Field Detail
-
FIELD_NAME_TARGET_DIRECTORY
public static final String FIELD_NAME_TARGET_DIRECTORY
- See Also:
- Constant Field Values
-
FIELD_NAME_FORMAT_TYPE
public static final String FIELD_NAME_FORMAT_TYPE
- See Also:
- Constant Field Values
-
-