public class RemoteTierFactory extends Object implements TierFactory
TierFactory for remote tier.| Constructor and Description |
|---|
RemoteTierFactory() |
| Modifier and Type | Method and Description |
|---|---|
TierConsumerAgent |
createConsumerAgent(List<TieredStorageConsumerSpec> tieredStorageConsumerSpecs,
List<TierShuffleDescriptor> shuffleDescriptors,
TieredStorageNettyService nettyService)
Creates the consumer-side agent of a Tier.
|
TierMasterAgent |
createMasterAgent(TieredStorageResourceRegistry resourceRegistry)
Creates the master-side agent of a Tier.
|
TierProducerAgent |
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 maxRequestedBuffers)
Creates the producer-side agent of a Tier.
|
TieredStorageMemorySpec |
getConsumerAgentMemorySpec()
Get the
TieredStorageMemorySpec of the consumer-side agent. |
TieredStorageMemorySpec |
getMasterAgentMemorySpec()
Get the
TieredStorageMemorySpec of the master-side agent. |
TieredStorageMemorySpec |
getProducerAgentMemorySpec()
Get the
TieredStorageMemorySpec of the producer-side agent. |
void |
setup(org.apache.flink.configuration.Configuration configuration)
Sets up the tier factory based on the
Configuration. |
public void setup(org.apache.flink.configuration.Configuration configuration)
TierFactoryConfiguration.setup in interface TierFactorypublic TieredStorageMemorySpec getMasterAgentMemorySpec()
TierFactoryTieredStorageMemorySpec of the master-side agent.getMasterAgentMemorySpec in interface TierFactorypublic TieredStorageMemorySpec getProducerAgentMemorySpec()
TierFactoryTieredStorageMemorySpec of the producer-side agent.getProducerAgentMemorySpec in interface TierFactorypublic TieredStorageMemorySpec getConsumerAgentMemorySpec()
TierFactoryTieredStorageMemorySpec of the consumer-side agent.getConsumerAgentMemorySpec in interface TierFactorypublic TierMasterAgent createMasterAgent(TieredStorageResourceRegistry resourceRegistry)
TierFactorycreateMasterAgent in interface TierFactorypublic TierProducerAgent 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 maxRequestedBuffers)
TierFactorycreateProducerAgent in interface TierFactorypublic TierConsumerAgent createConsumerAgent(List<TieredStorageConsumerSpec> tieredStorageConsumerSpecs, List<TierShuffleDescriptor> shuffleDescriptors, TieredStorageNettyService nettyService)
TierFactorycreateConsumerAgent in interface TierFactoryCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.