@Internal public interface LocalChangelogRegistry extends Closeable
Modifier and Type | Field and Description |
---|---|
static LocalChangelogRegistry |
NO_OP |
Modifier and Type | Method and Description |
---|---|
void |
discardUpToCheckpoint(long upTo)
Called upon ChangelogKeyedStateBackend#notifyCheckpointComplete and
ChangelogKeyedStateBackend#notifyCheckpointSubsumed.
|
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.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.