@Internal public class LocalChangelogRegistryImpl extends Object implements LocalChangelogRegistry
NO_OP| 构造器和说明 |
|---|
LocalChangelogRegistryImpl(ExecutorService ioExecutor) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 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 在接口中 LocalChangelogRegistryupTo - lowest CheckpointID which is still valid.public void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.