Class StopWithSavepointRequestBody
java.lang.Object
org.apache.flink.runtime.rest.messages.job.savepoints.stop.StopWithSavepointRequestBody
- All Implemented Interfaces:
RequestBody
RequestBody for stopping a job with a savepoint.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStopWithSavepointRequestBody(String targetDirectory, Boolean drain, org.apache.flink.core.execution.SavepointFormatType formatType, TriggerId triggerId) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.core.execution.SavepointFormatTypeboolean
-
Field Details
-
FIELD_NAME_TARGET_DIRECTORY
- See Also:
-
FIELD_NAME_FORMAT_TYPE
- See Also:
-
-
Constructor Details
-
StopWithSavepointRequestBody
-
-
Method Details
-
getTargetDirectory
-
shouldDrain
public boolean shouldDrain() -
getTriggerId
-
getFormatType
public org.apache.flink.core.execution.SavepointFormatType getFormatType()
-