Class RemoteTierFactory
- java.lang.Object
-
- org.apache.flink.runtime.io.network.partition.hybrid.tiered.tier.remote.RemoteTierFactory
-
- All Implemented Interfaces:
TierFactory
public class RemoteTierFactory extends Object implements TierFactory
The implementation ofTierFactoryfor remote tier.
-
-
Constructor Summary
Constructors Constructor Description RemoteTierFactory(int numBytesPerSegment, int bufferSizeBytes, String remoteStorageBasePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TierConsumerAgentcreateConsumerAgent(List<TieredStorageConsumerSpec> tieredStorageConsumerSpecs, TieredStorageNettyService nettyService)Creates the consumer-side agent of a Tier.TierMasterAgentcreateMasterAgent(TieredStorageResourceRegistry resourceRegistry)Creates the master-side agent of a Tier.TierProducerAgentcreateProducerAgent(int numSubpartitions, TieredStoragePartitionId partitionID, String dataFileBasePath, boolean isBroadcastOnly, TieredStorageMemoryManager storageMemoryManager, TieredStorageNettyService nettyService, TieredStorageResourceRegistry resourceRegistry, BatchShuffleReadBufferPool bufferPool, ScheduledExecutorService ioExecutor, int maxRequestedBuffers, java.time.Duration bufferRequestTimeout)Creates the producer-side agent of a Tier.
-
-
-
Constructor Detail
-
RemoteTierFactory
public RemoteTierFactory(int numBytesPerSegment, int bufferSizeBytes, String remoteStorageBasePath)
-
-
Method Detail
-
createMasterAgent
public TierMasterAgent createMasterAgent(TieredStorageResourceRegistry resourceRegistry)
Description copied from interface:TierFactoryCreates the master-side agent of a Tier.- Specified by:
createMasterAgentin interfaceTierFactory
-
createProducerAgent
public TierProducerAgent createProducerAgent(int numSubpartitions, TieredStoragePartitionId partitionID, String dataFileBasePath, boolean isBroadcastOnly, TieredStorageMemoryManager storageMemoryManager, TieredStorageNettyService nettyService, TieredStorageResourceRegistry resourceRegistry, BatchShuffleReadBufferPool bufferPool, ScheduledExecutorService ioExecutor, int maxRequestedBuffers, java.time.Duration bufferRequestTimeout)
Description copied from interface:TierFactoryCreates the producer-side agent of a Tier.- Specified by:
createProducerAgentin interfaceTierFactory
-
createConsumerAgent
public TierConsumerAgent createConsumerAgent(List<TieredStorageConsumerSpec> tieredStorageConsumerSpecs, TieredStorageNettyService nettyService)
Description copied from interface:TierFactoryCreates the consumer-side agent of a Tier.- Specified by:
createConsumerAgentin interfaceTierFactory
-
-