Package org.apache.flink.runtime.io.network.partition.hybrid
-
Interface Summary Interface Description HsDataView A view forHsSubpartitionConsumerto find out what data exists in memory or disk and polling the data.HsFileDataIndex Index of spilled data.HsMemoryDataManagerOperation This interface is used byHsSubpartitionMemoryDataManagerto operateHsMemoryDataManager.HsSpillingInfoProvider This component is responsible for providing some information needed for the spill decision.HsSpillingStrategy Spilling strategy for hybrid shuffle mode.HsSubpartitionConsumerInternalOperations Operations provided byHsSubpartitionConsumerthat are used by other internal components of hybrid result partition.HsSubpartitionFileReader This component is responsible for reading data from disk for a specific subpartition.HsSubpartitionFileReader.Factory Factory to createHsSubpartitionFileReader. -
Class Summary Class Description BufferIndexAndChannel Integrate the buffer index and the channel id which it belongs.BufferWithIdentity Integrate the buffer with index and the channel information to which it belongs.HsBufferContext This class maintains the buffer's reference count and its status for hybrid shuffle mode.HsConsumerId This class represents the identifier of hybrid shuffle's consumer.HsFileDataIndex.ReadableRegion Represents a series of physically continuous buffers in the file, which are readable, from the same subpartition, and has sequential buffer index.HsFileDataIndex.SpilledBuffer Represents a spilled buffer.HsFileDataIndexImpl Default implementation ofHsFileDataIndex.HsFileDataIndexImpl.HsFileDataIndexRegionHelper The implementation ofFileDataIndexRegionHelperto writing a region to the file or reading a region from the file.HsFileDataIndexImpl.InternalRegion AHsFileDataIndexImpl.InternalRegionis an implementation ofFileDataIndexRegionHelper.Region.HsFileDataManager File data manager for HsResultPartition, which schedulesHsSubpartitionFileReaderImplfor loading data w.r.t.HsFullSpillingStrategy A special implementation ofHsSpillingStrategythat spilled all buffers to disk.HsMemoryDataManager This class is responsible for managing data in memory.HsMemoryDataSpiller This component is responsible for asynchronously writing in-memory data to disk.HsOutputMetrics All metrics thatHsResultPartitionneeds to count, except numBytesProduced.HsResultPartition HsResultPartitionappends records and events toHsMemoryDataManager, the shuffle data maybe spilled to disk according to theHsSpillingStrategy, and the downstream can consume data from memory or disk.HsSelectiveSpillingStrategy A special implementation ofHsSpillingStrategythat reduce disk writes as much as possible.HsSpillingInfoProvider.ConsumeStatusWithId This class represents a pair ofHsSpillingInfoProvider.ConsumeStatusand consumer id.HsSpillingStrategy.Decision This class represents the spill and release decision made byHsSpillingStrategy, in other words, which data is to be spilled and which data is to be released.HsSpillingStrategyUtils Utilities forHsSpillingStrategy.HsSubpartitionConsumer The read view of HsResultPartition, data can be read from memory or disk.HsSubpartitionConsumerMemoryDataManager This class is responsible for managing the data of a single consumer.HsSubpartitionFileReaderImpl Default implementation ofHsSubpartitionFileReader.HsSubpartitionFileReaderImpl.BufferIndexOrError Indicates a buffer with index or an error.HsSubpartitionFileReaderImpl.Factory Factory ofHsSubpartitionFileReader.HsSubpartitionMemoryDataManager This class is responsible for managing the data in a single subpartition.HybridShuffleConfiguration Configuration for hybrid shuffle mode.HybridShuffleConfiguration.Builder Builder forHybridShuffleConfiguration. -
Enum Summary Enum Description HsSpillingInfoProvider.ConsumeStatus This enum represents buffer status of consume in hybrid shuffle mode.HsSpillingInfoProvider.SpillStatus This enum represents buffer status of spill in hybrid shuffle mode.HybridShuffleConfiguration.SpillingStrategyType Type ofHsSpillingStrategy.