Class ExponentialGrowthPartitionMemoryEstimator.Factory
java.lang.Object
io.trino.execution.scheduler.faulttolerant.ExponentialGrowthPartitionMemoryEstimator.Factory
- All Implemented Interfaces:
PartitionMemoryEstimatorFactory
- Enclosing class:
ExponentialGrowthPartitionMemoryEstimator
public static class ExponentialGrowthPartitionMemoryEstimator.Factory
extends Object
implements PartitionMemoryEstimatorFactory
-
Constructor Summary
ConstructorsConstructorDescriptionFactory(ClusterMemoryManager clusterMemoryManager, MemoryManagerConfig memoryManagerConfig) -
Method Summary
Modifier and TypeMethodDescriptioncreatePartitionMemoryEstimator(Session session, PlanFragment planFragment, Function<PlanFragmentId, PlanFragment> sourceFragmentLookup) voidstart()voidstop()
-
Constructor Details
-
Factory
@Inject public Factory(ClusterMemoryManager clusterMemoryManager, MemoryManagerConfig memoryManagerConfig)
-
-
Method Details
-
start
@PostConstruct public void start() -
stop
@PreDestroy public void stop() -
createPartitionMemoryEstimator
public PartitionMemoryEstimator createPartitionMemoryEstimator(Session session, PlanFragment planFragment, Function<PlanFragmentId, PlanFragment> sourceFragmentLookup) - Specified by:
createPartitionMemoryEstimatorin interfacePartitionMemoryEstimatorFactory
-