| Package | Description |
|---|---|
| org.apache.flink.runtime.checkpoint.filemerging |
| Modifier and Type | Field and Description |
|---|---|
protected Queue<PhysicalFile> |
PhysicalFilePool.exclusivePhysicalFilePool
Queue maintaining exclusive physical files for reusing.
|
protected Map<FileMergingSnapshotManager.SubtaskKey,Queue<PhysicalFile>> |
PhysicalFilePool.sharedPhysicalFilePoolBySubtask
Map maintaining queues of different subtasks for reusing shared physical files.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected PhysicalFile |
WithinCheckpointFileMergingSnapshotManager.getOrCreatePhysicalFileForCheckpoint(FileMergingSnapshotManager.SubtaskKey subtaskKey,
long checkpointId,
CheckpointedStateScope scope) |
protected PhysicalFile |
AcrossCheckpointFileMergingSnapshotManager.getOrCreatePhysicalFileForCheckpoint(FileMergingSnapshotManager.SubtaskKey subtaskKey,
long checkpointID,
CheckpointedStateScope scope) |
protected abstract PhysicalFile |
FileMergingSnapshotManagerBase.getOrCreatePhysicalFileForCheckpoint(FileMergingSnapshotManager.SubtaskKey subtaskKey,
long checkpointId,
CheckpointedStateScope scope)
Get a reused physical file or create one.
|
PhysicalFile |
LogicalFile.getPhysicalFile() |
PhysicalFile |
PhysicalFile.PhysicalFileCreator.perform(FileMergingSnapshotManager.SubtaskKey subtaskKey,
CheckpointedStateScope scope)
Create the file.
|
PhysicalFile |
NonBlockingPhysicalFilePool.pollFile(FileMergingSnapshotManager.SubtaskKey subtaskKey,
CheckpointedStateScope scope) |
PhysicalFile |
BlockingPhysicalFilePool.pollFile(FileMergingSnapshotManager.SubtaskKey subtaskKey,
CheckpointedStateScope scope) |
abstract PhysicalFile |
PhysicalFilePool.pollFile(FileMergingSnapshotManager.SubtaskKey subtaskKey,
CheckpointedStateScope scope)
Poll a physical file from the pool.
|
| Modifier and Type | Method and Description |
|---|---|
protected Queue<PhysicalFile> |
NonBlockingPhysicalFilePool.createFileQueue() |
protected Queue<PhysicalFile> |
BlockingPhysicalFilePool.createFileQueue() |
protected abstract Queue<PhysicalFile> |
PhysicalFilePool.createFileQueue()
Create and return a file queue.
|
protected Queue<PhysicalFile> |
PhysicalFilePool.getFileQueue(FileMergingSnapshotManager.SubtaskKey subtaskKey,
CheckpointedStateScope scope)
Get or create a file queue for specific subtaskKey and checkpoint scope.
|
| Modifier and Type | Method and Description |
|---|---|
protected LogicalFile |
FileMergingSnapshotManagerBase.createLogicalFile(PhysicalFile physicalFile,
long startOffset,
long length,
FileMergingSnapshotManager.SubtaskKey subtaskKey)
Create a logical file on a physical file.
|
protected void |
WithinCheckpointFileMergingSnapshotManager.returnPhysicalFileForNextReuse(FileMergingSnapshotManager.SubtaskKey subtaskKey,
long checkpointId,
PhysicalFile physicalFile) |
protected void |
AcrossCheckpointFileMergingSnapshotManager.returnPhysicalFileForNextReuse(FileMergingSnapshotManager.SubtaskKey subtaskKey,
long checkpointId,
PhysicalFile physicalFile) |
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.
|
boolean |
NonBlockingPhysicalFilePool.tryPutFile(FileMergingSnapshotManager.SubtaskKey subtaskKey,
PhysicalFile physicalFile) |
boolean |
BlockingPhysicalFilePool.tryPutFile(FileMergingSnapshotManager.SubtaskKey subtaskKey,
PhysicalFile physicalFile) |
abstract boolean |
PhysicalFilePool.tryPutFile(FileMergingSnapshotManager.SubtaskKey subtaskKey,
PhysicalFile physicalFile)
Try to put a physical file into file pool.
|
| Constructor and Description |
|---|
LogicalFile(LogicalFile.LogicalFileId fileId,
PhysicalFile physicalFile,
long startOffset,
long length,
FileMergingSnapshotManager.SubtaskKey subtaskKey) |
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.