Interface CompactionPlan.Builder

Enclosing interface:
CompactionPlan

public static interface CompactionPlan.Builder
Since:
2.1.0
See Also:
  • Method Details

    • addJob

      CompactionPlan.Builder addJob(short priority, CompactionExecutorId executor, Collection<CompactableFile> group)
      Parameters:
      priority - This determines the order in which the job is taken off the execution queue. Larger numbers are taken off the queue first. If two jobs are on the queue, one with a priority of 4 and another with 5, then the one with 5 will be taken first.
      executor - Where the job should run.
      group - The files to compact.
      Returns:
      this
    • build