@Internal
public interface LocalChangelogRegistry
| 限定符和类型 | 字段和说明 |
|---|---|
static LocalChangelogRegistry |
NO_OP |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
discardUpToCheckpoint(long upTo)
Called upon ChangelogKeyedStateBackend#notifyCheckpointComplete and
ChangelogKeyedStateBackend#notifyCheckpointSubsumed.
|
void |
prune(long checkpointID)
Called upon ChangelogKeyedStateBackend#notifyCheckpointAborted.
|
void |
register(StreamStateHandle handle,
long checkpointID)
Called upon ChangelogKeyedStateBackend#notifyCheckpointComplete.
|
static final LocalChangelogRegistry NO_OP
void register(StreamStateHandle handle, long checkpointID)
handle - handle to register.checkpointID - latest used checkpointID.void discardUpToCheckpoint(long upTo)
CompletedCheckpointStore.addCheckpointAndSubsumeOldestOne(org.apache.flink.runtime.checkpoint.CompletedCheckpoint, org.apache.flink.runtime.checkpoint.CheckpointsCleaner, java.lang.Runnable), local dtsl handles
are unregistered when the checkpoint completes, because only one checkpoint is kept for local
recovery.upTo - lowest CheckpointID which is still valid.void prune(long checkpointID)
checkpointID - to abortCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.