public interface TierFactory
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 tieredStorageResourceRegistry)
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 maxRequestedBuffer)
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(Configuration configuration)
Sets up the tier factory based on the
Configuration . |
void setup(Configuration configuration)
Configuration
.TieredStorageMemorySpec getMasterAgentMemorySpec()
TieredStorageMemorySpec
of the master-side agent.TieredStorageMemorySpec getProducerAgentMemorySpec()
TieredStorageMemorySpec
of the producer-side agent.TieredStorageMemorySpec getConsumerAgentMemorySpec()
TieredStorageMemorySpec
of the consumer-side agent.TierMasterAgent createMasterAgent(TieredStorageResourceRegistry tieredStorageResourceRegistry)
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 maxRequestedBuffer)
TierConsumerAgent createConsumerAgent(List<TieredStorageConsumerSpec> tieredStorageConsumerSpecs, List<TierShuffleDescriptor> shuffleDescriptors, TieredStorageNettyService nettyService)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.