| Package | Description |
|---|---|
| org.apache.flink.runtime.checkpoint.filemerging |
| Modifier and Type | Method and Description |
|---|---|
FileMergingSnapshotManager.SubtaskKey |
LogicalFile.getSubtaskKey() |
| Modifier and Type | Method and Description |
|---|---|
protected LogicalFile |
FileMergingSnapshotManagerBase.createLogicalFile(PhysicalFile physicalFile,
int startOffset,
int length,
FileMergingSnapshotManager.SubtaskKey subtaskKey)
Create a logical file on a physical file.
|
protected PhysicalFile |
FileMergingSnapshotManagerBase.createPhysicalFile(FileMergingSnapshotManager.SubtaskKey subtaskKey,
CheckpointedStateScope scope)
Create a physical file in right location (managed directory), which is specified by scope of
this checkpoint and current subtask.
|
org.apache.flink.core.fs.Path |
FileMergingSnapshotManager.getManagedDir(FileMergingSnapshotManager.SubtaskKey subtaskKey,
CheckpointedStateScope scope)
Get the managed directory of the file-merging snapshot manager, created in
FileMergingSnapshotManager.initFileSystem(org.apache.flink.core.fs.FileSystem, org.apache.flink.core.fs.Path, org.apache.flink.core.fs.Path, org.apache.flink.core.fs.Path) or FileMergingSnapshotManager.registerSubtaskForSharedStates(org.apache.flink.runtime.checkpoint.filemerging.FileMergingSnapshotManager.SubtaskKey). |
org.apache.flink.core.fs.Path |
FileMergingSnapshotManagerBase.getManagedDir(FileMergingSnapshotManager.SubtaskKey subtaskKey,
CheckpointedStateScope scope) |
protected abstract PhysicalFile |
FileMergingSnapshotManagerBase.getOrCreatePhysicalFileForCheckpoint(FileMergingSnapshotManager.SubtaskKey subtaskKey,
long checkpointId,
CheckpointedStateScope scope)
Get a reused physical file or create one.
|
protected PhysicalFile |
WithinCheckpointFileMergingSnapshotManager.getOrCreatePhysicalFileForCheckpoint(FileMergingSnapshotManager.SubtaskKey subtaskKey,
long checkpointId,
CheckpointedStateScope scope) |
void |
FileMergingSnapshotManager.registerSubtaskForSharedStates(FileMergingSnapshotManager.SubtaskKey subtaskKey)
Register a subtask and create the managed directory for shared states.
|
void |
FileMergingSnapshotManagerBase.registerSubtaskForSharedStates(FileMergingSnapshotManager.SubtaskKey subtaskKey) |
protected abstract void |
FileMergingSnapshotManagerBase.returnPhysicalFileForNextReuse(FileMergingSnapshotManager.SubtaskKey subtaskKey,
long checkpointId,
PhysicalFile physicalFile)
Try to return an existing physical file to the manager for next reuse.
|
protected void |
WithinCheckpointFileMergingSnapshotManager.returnPhysicalFileForNextReuse(FileMergingSnapshotManager.SubtaskKey subtaskKey,
long checkpointId,
PhysicalFile physicalFile) |
| Constructor and Description |
|---|
LogicalFile(LogicalFile.LogicalFileId fileId,
PhysicalFile physicalFile,
int startOffset,
int length,
FileMergingSnapshotManager.SubtaskKey subtaskKey) |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.