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:
  • 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

      public static SavepointType suspend(org.apache.flink.core.execution.SavepointFormatType formatType)
    • isSavepoint

      public boolean isSavepoint()
      Specified by:
      isSavepoint in interface SnapshotType
    • 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:
      getName in interface SnapshotType
    • getFormatType

      public org.apache.flink.core.execution.SavepointFormatType getFormatType()
    • getSharingFilesStrategy

      public SnapshotType.SharingFilesStrategy getSharingFilesStrategy()
      Specified by:
      getSharingFilesStrategy in interface SnapshotType
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object