Class CompactionRunSimulator
java.lang.Object
org.apache.druid.server.compaction.CompactionRunSimulator
Deprecated.
The simulator does not support the Overlord-based CompactionJobQueue
or the new reindexing templates. It will either be fully replaced or undergo
a major overhaul in the upcoming releases.
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) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionsimulateRunWithConfig(DruidCompactionConfig compactionConfig, DataSourcesSnapshot dataSourcesSnapshot, CompactionEngine defaultEngine) Deprecated.Simulates a run of the compact segments duty with the given compaction config assuming unlimited compaction task slots.
-
Constructor Details
-
CompactionRunSimulator
Deprecated.
-
-
Method Details
-
simulateRunWithConfig
public CompactionSimulateResult simulateRunWithConfig(DruidCompactionConfig compactionConfig, DataSourcesSnapshot dataSourcesSnapshot, CompactionEngine defaultEngine) Deprecated.Simulates a run of the compact segments duty with the given compaction config assuming unlimited compaction task slots.
-