Interface CompactionPlan.Builder

    • Method Detail

      • 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