Class CompactionRunSimulator
java.lang.Object
org.apache.druid.server.compaction.CompactionRunSimulator
Simulates runs of auto-compaction duty to obtain the expected list of
compaction tasks that would be submitted by the actual compaction duty.
-
Constructor Summary
ConstructorsConstructorDescriptionCompactionRunSimulator(CompactionStatusTracker statusTracker, OverlordClient overlordClient) -
Method Summary
Modifier and TypeMethodDescriptionsimulateRunWithConfig(DruidCompactionConfig compactionConfig, DataSourcesSnapshot dataSourcesSnapshot, CompactionEngine defaultEngine) Simulates a run of the compact segments duty with the given compaction config assuming unlimited compaction task slots.
-
Constructor Details
-
CompactionRunSimulator
-
-
Method Details
-
simulateRunWithConfig
public CompactionSimulateResult simulateRunWithConfig(DruidCompactionConfig compactionConfig, DataSourcesSnapshot dataSourcesSnapshot, CompactionEngine defaultEngine) Simulates a run of the compact segments duty with the given compaction config assuming unlimited compaction task slots.
-