Class SavepointType
java.lang.Object
org.apache.flink.runtime.checkpoint.SavepointType
- All Implemented Interfaces:
Serializable,SnapshotType
The type of checkpoint to perform.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhat'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
Modifier and TypeMethodDescriptionbooleanorg.apache.flink.core.execution.SavepointFormatTypegetName()inthashCode()booleanbooleanstatic SavepointTypesavepoint(org.apache.flink.core.execution.SavepointFormatType formatType) booleanbooleanbooleanstatic SavepointTypesuspend(org.apache.flink.core.execution.SavepointFormatType formatType) static SavepointTypeterminate(org.apache.flink.core.execution.SavepointFormatType formatType) toString()
-
Method Details
-
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
-
isSavepoint
public boolean isSavepoint()- Specified by:
isSavepointin interfaceSnapshotType
-
isSynchronous
public boolean isSynchronous() -
getPostCheckpointAction
-
shouldAdvanceToEndOfTime
public boolean shouldAdvanceToEndOfTime() -
shouldDrain
public boolean shouldDrain() -
shouldIgnoreEndOfInput
public boolean shouldIgnoreEndOfInput() -
getName
- Specified by:
getNamein interfaceSnapshotType
-
getFormatType
public org.apache.flink.core.execution.SavepointFormatType getFormatType() -
getSharingFilesStrategy
- Specified by:
getSharingFilesStrategyin interfaceSnapshotType
-
equals
-
hashCode
public int hashCode() -
toString
-