Class SavepointInfo
- java.lang.Object
-
- org.apache.flink.kubernetes.operator.api.status.SavepointInfo
-
- All Implemented Interfaces:
SnapshotInfo
@Experimental @Deprecated public class SavepointInfo extends java.lang.Object implements SnapshotInfo
Deprecated.Stores savepoint related information.
-
-
Constructor Summary
Constructors Constructor Description SavepointInfo()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
formatErrorMessage(java.lang.Long triggerNonce)
Deprecated.long
getLastPeriodicTriggerTimestamp()
Deprecated.Snapshot
getLastSnapshot()
Deprecated.java.lang.Long
getLastTriggerNonce()
Deprecated.SnapshotTriggerType
getLastTriggerType()
Deprecated.void
resetTrigger()
Deprecated.void
setTrigger(java.lang.String triggerId, SnapshotTriggerType triggerType, SavepointFormatType formatType)
Deprecated.void
updateLastSavepoint(Savepoint savepoint)
Deprecated.Update last savepoint info and add the savepoint to the history if it isn't already the most recent savepoint.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.kubernetes.operator.api.status.SnapshotInfo
getTriggerId, getTriggerTimestamp, getTriggerType
-
-
-
-
Method Detail
-
setTrigger
public void setTrigger(java.lang.String triggerId, SnapshotTriggerType triggerType, SavepointFormatType formatType)
Deprecated.
-
resetTrigger
public void resetTrigger()
Deprecated.- Specified by:
resetTrigger
in interfaceSnapshotInfo
-
updateLastSavepoint
public void updateLastSavepoint(Savepoint savepoint)
Deprecated.Update last savepoint info and add the savepoint to the history if it isn't already the most recent savepoint.- Parameters:
savepoint
- Savepoint to be added.
-
getLastTriggerNonce
public java.lang.Long getLastTriggerNonce()
Deprecated.- Specified by:
getLastTriggerNonce
in interfaceSnapshotInfo
-
getLastPeriodicTriggerTimestamp
public long getLastPeriodicTriggerTimestamp()
Deprecated.- Specified by:
getLastPeriodicTriggerTimestamp
in interfaceSnapshotInfo
-
getLastTriggerType
public SnapshotTriggerType getLastTriggerType()
Deprecated.- Specified by:
getLastTriggerType
in interfaceSnapshotInfo
-
formatErrorMessage
public java.lang.String formatErrorMessage(java.lang.Long triggerNonce)
Deprecated.- Specified by:
formatErrorMessage
in interfaceSnapshotInfo
-
getLastSnapshot
public Snapshot getLastSnapshot()
Deprecated.- Specified by:
getLastSnapshot
in interfaceSnapshotInfo
-
-