Class SavepointType
- java.lang.Object
-
- org.apache.flink.runtime.checkpoint.SavepointType
-
- All Implemented Interfaces:
Serializable,SnapshotType
public class SavepointType extends Object implements SnapshotType
The type of checkpoint to perform.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSavepointType.PostCheckpointActionWhat's the intended action after the checkpoint (relevant for stopping with savepoint).-
Nested classes/interfaces inherited from interface org.apache.flink.runtime.checkpoint.SnapshotType
SnapshotType.SharingFilesStrategy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)org.apache.flink.core.execution.SavepointFormatTypegetFormatType()StringgetName()SavepointType.PostCheckpointActiongetPostCheckpointAction()SnapshotType.SharingFilesStrategygetSharingFilesStrategy()inthashCode()booleanisSavepoint()booleanisSynchronous()static SavepointTypesavepoint(org.apache.flink.core.execution.SavepointFormatType formatType)booleanshouldAdvanceToEndOfTime()booleanshouldDrain()booleanshouldIgnoreEndOfInput()static SavepointTypesuspend(org.apache.flink.core.execution.SavepointFormatType formatType)static SavepointTypeterminate(org.apache.flink.core.execution.SavepointFormatType formatType)StringtoString()
-
-
-
Method Detail
-
savepoint
public static SavepointType savepoint(org.apache.flink.core.execution.SavepointFormatType formatType)
-
terminate
public static SavepointType terminate(org.apache.flink.core.execution.SavepointFormatType formatType)
-
suspend
public static SavepointType suspend(org.apache.flink.core.execution.SavepointFormatType formatType)
-
isSavepoint
public boolean isSavepoint()
- Specified by:
isSavepointin interfaceSnapshotType
-
isSynchronous
public boolean isSynchronous()
-
getPostCheckpointAction
public SavepointType.PostCheckpointAction getPostCheckpointAction()
-
shouldAdvanceToEndOfTime
public boolean shouldAdvanceToEndOfTime()
-
shouldDrain
public boolean shouldDrain()
-
shouldIgnoreEndOfInput
public boolean shouldIgnoreEndOfInput()
-
getName
public String getName()
- Specified by:
getNamein interfaceSnapshotType
-
getFormatType
public org.apache.flink.core.execution.SavepointFormatType getFormatType()
-
getSharingFilesStrategy
public SnapshotType.SharingFilesStrategy getSharingFilesStrategy()
- Specified by:
getSharingFilesStrategyin interfaceSnapshotType
-
-