@Internal public class LocalChangelogRegistryImpl extends Object implements LocalChangelogRegistry
NO_OP| Constructor and Description |
|---|
LocalChangelogRegistryImpl(ExecutorService ioExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
discardUpToCheckpoint(long upTo)
Called upon ChangelogKeyedStateBackend#notifyCheckpointComplete and
ChangelogKeyedStateBackend#notifyCheckpointSubsumed.
|
void |
register(StreamStateHandle handle,
long checkpointID)
Called upon ChangelogKeyedStateBackend#notifyCheckpointComplete.
|
public LocalChangelogRegistryImpl(ExecutorService ioExecutor)
public void register(StreamStateHandle handle, long checkpointID)
LocalChangelogRegistryregister in interface LocalChangelogRegistryhandle - handle to register.checkpointID - latest used checkpointID.public void discardUpToCheckpoint(long upTo)
LocalChangelogRegistryCompletedCheckpointStore.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.discardUpToCheckpoint in interface LocalChangelogRegistryupTo - lowest CheckpointID which is still valid.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.