| Modifier and Type | Method and Description |
|---|---|
static TieredStoragePartitionId |
TieredStorageIdMappingUtils.convertId(ResultPartitionID resultPartitionId) |
| Modifier and Type | Method and Description |
|---|---|
static ResultPartitionID |
TieredStorageIdMappingUtils.convertId(TieredStoragePartitionId partitionId) |
| Modifier and Type | Method and Description |
|---|---|
static String |
SegmentPartitionFile.getPartitionPath(TieredStoragePartitionId partitionId,
String basePath) |
long |
PartitionFileReader.getPriority(TieredStoragePartitionId partitionId,
TieredStorageSubpartitionId subpartitionId,
int segmentId,
int bufferIndex,
PartitionFileReader.ReadProgress readProgress)
Get the priority for reading a particular buffer from the partitioned file.
|
long |
ProducerMergedPartitionFileReader.getPriority(TieredStoragePartitionId partitionId,
TieredStorageSubpartitionId subpartitionId,
int segmentId,
int bufferIndex,
PartitionFileReader.ReadProgress readProgress) |
long |
SegmentPartitionFileReader.getPriority(TieredStoragePartitionId partitionId,
TieredStorageSubpartitionId subpartitionId,
int segmentId,
int bufferIndex,
PartitionFileReader.ReadProgress readProgress) |
static org.apache.flink.core.fs.Path |
SegmentPartitionFile.getSegmentFinishDirPath(String basePath,
TieredStoragePartitionId partitionId,
int subpartitionId) |
static org.apache.flink.core.fs.Path |
SegmentPartitionFile.getSegmentPath(String basePath,
TieredStoragePartitionId partitionId,
int subpartitionId,
long segmentId) |
static String |
SegmentPartitionFile.getSubpartitionPath(String basePath,
TieredStoragePartitionId partitionId,
int subpartitionId) |
PartitionFileReader.ReadBufferResult |
PartitionFileReader.readBuffer(TieredStoragePartitionId partitionId,
TieredStorageSubpartitionId subpartitionId,
int segmentId,
int bufferIndex,
org.apache.flink.core.memory.MemorySegment memorySegment,
BufferRecycler recycler,
PartitionFileReader.ReadProgress readProgress,
CompositeBuffer partialBuffer)
Read a buffer from the partition file.
|
PartitionFileReader.ReadBufferResult |
ProducerMergedPartitionFileReader.readBuffer(TieredStoragePartitionId partitionId,
TieredStorageSubpartitionId subpartitionId,
int segmentId,
int bufferIndex,
org.apache.flink.core.memory.MemorySegment memorySegment,
BufferRecycler recycler,
PartitionFileReader.ReadProgress readProgress,
CompositeBuffer partialBuffer) |
PartitionFileReader.ReadBufferResult |
SegmentPartitionFileReader.readBuffer(TieredStoragePartitionId partitionId,
TieredStorageSubpartitionId subpartitionId,
int segmentId,
int bufferIndex,
org.apache.flink.core.memory.MemorySegment memorySegment,
BufferRecycler recycler,
PartitionFileReader.ReadProgress readProgress,
CompositeBuffer partialBuffer) |
CompletableFuture<Void> |
PartitionFileWriter.write(TieredStoragePartitionId partitionId,
List<PartitionFileWriter.SubpartitionBufferContext> buffersToWrite)
Write the buffers to the partition file.
|
CompletableFuture<Void> |
ProducerMergedPartitionFileWriter.write(TieredStoragePartitionId partitionId,
List<PartitionFileWriter.SubpartitionBufferContext> buffersToWrite) |
CompletableFuture<Void> |
SegmentPartitionFileWriter.write(TieredStoragePartitionId partitionId,
List<PartitionFileWriter.SubpartitionBufferContext> buffersToWrite) |
static void |
SegmentPartitionFile.writeSegmentFinishFile(String basePath,
TieredStoragePartitionId partitionId,
int subpartitionId,
int segmentId) |
| Modifier and Type | Method and Description |
|---|---|
TieredStoragePartitionId |
TieredStorageConsumerSpec.getPartitionId() |
| Modifier and Type | Method and Description |
|---|---|
Optional<Buffer> |
TieredStorageConsumerClient.getNextBuffer(TieredStoragePartitionId partitionId,
TieredStorageSubpartitionId subpartitionId) |
void |
AvailabilityNotifier.notifyAvailable(TieredStoragePartitionId partitionId,
TieredStorageInputChannelId inputChannelId)
Notify that the data for the specific partition and input channel is available in tiered
storage.
|
int |
TieredStorageConsumerClient.peekNextBufferSubpartitionId(TieredStoragePartitionId partitionId,
ResultSubpartitionIndexSet indexSet)
Returns the index of the subpartition where the next buffer locates, or -1 if there is no
buffer available or the subpartition index does not belong to the specified indexSet.
|
void |
TieredStorageConsumerClient.updateTierShuffleDescriptors(TieredStoragePartitionId partitionId,
TieredStorageInputChannelId inputChannelId,
TieredStorageSubpartitionId subpartitionId,
List<TierShuffleDescriptor> tierShuffleDescriptors) |
| Constructor and Description |
|---|
TieredStorageConsumerSpec(int gateIndex,
TieredStoragePartitionId tieredStoragePartitionId,
TieredStorageInputChannelId tieredStorageInputChannelId,
ResultSubpartitionIndexSet tieredStorageSubpartitionIds) |
| Modifier and Type | Method and Description |
|---|---|
TierProducerAgent |
TierFactory.createProducerAgent(int numPartitions,
int numSubpartitions,
TieredStoragePartitionId partitionID,
String dataFileBasePath,
boolean isBroadcastOnly,
TieredStorageMemoryManager storageMemoryManager,
TieredStorageNettyService nettyService,
TieredStorageResourceRegistry resourceRegistry,
BatchShuffleReadBufferPool bufferPool,
ScheduledExecutorService ioExecutor,
List<TierShuffleDescriptor> shuffleDescriptors,
int maxRequestedBuffer)
Creates the producer-side agent of a Tier.
|
Optional<Buffer> |
TierConsumerAgent.getNextBuffer(TieredStoragePartitionId partitionId,
TieredStorageSubpartitionId subpartitionId,
int segmentId)
Get buffer from the consumer agent.
|
int |
TierConsumerAgent.peekNextBufferSubpartitionId(TieredStoragePartitionId partitionId,
ResultSubpartitionIndexSet indexSet)
Returns the index of the subpartition where the next buffer locates, or -1 if there is no
buffer available or the subpartition index does not belong to the specified indexSet.
|
void |
TierConsumerAgent.updateTierShuffleDescriptor(TieredStoragePartitionId partitionId,
TieredStorageInputChannelId inputChannelId,
TieredStorageSubpartitionId subpartitionId,
TierShuffleDescriptor tierShuffleDescriptor)
Update the
TierShuffleDescriptor for the consumer agent. |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<?> |
TierShuffleHandler.onReleasePartitions(Collection<TieredStoragePartitionId> partitionIds)
A callback to process the event of releasing a collection of tiered result partitions.
|
| Constructor and Description |
|---|
DiskIOScheduler(TieredStoragePartitionId partitionId,
BatchShuffleReadBufferPool bufferPool,
ScheduledExecutorService ioExecutor,
int maxRequestedBuffers,
Duration bufferRequestTimeout,
BiFunction<Integer,Integer,Integer> segmentIdGetter,
PartitionFileReader partitionFileReader) |
| Constructor and Description |
|---|
MemoryTierProducerAgent(TieredStoragePartitionId partitionId,
int numSubpartitions,
int bufferSizeBytes,
int segmentSizeBytes,
int subpartitionMaxQueuedBuffers,
boolean isBroadcastOnly,
TieredStorageMemoryManager memoryManager,
TieredStorageNettyService nettyService,
TieredStorageResourceRegistry resourceRegistry,
BufferCompressor bufferCompressor) |
| Modifier and Type | Method and Description |
|---|---|
TieredStoragePartitionId |
RemoteTierShuffleDescriptor.getPartitionId() |
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteStorageScanner.registerAvailabilityAndPriorityNotifier(BiConsumer<TieredStoragePartitionId,TieredStorageSubpartitionId> availabilityNotifier) |
| Constructor and Description |
|---|
RemoteTierShuffleDescriptor(TieredStoragePartitionId partitionId) |
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.