private static SweepBatchConfig getSweepBatchConfig(SweepConfig sweepConfig) { return ImmutableSweepBatchConfig.builder() .maxCellTsPairsToExamine(sweepConfig.readLimit()) .candidateBatchSize(sweepConfig.candidateBatchHint() .orElse(AtlasDbConstants.DEFAULT_SWEEP_CANDIDATE_BATCH_HINT)) .deleteBatchSize(sweepConfig.deleteBatchHint()) .build(); }
private static SweepBatchConfig getSweepBatchConfig(SweepConfig sweepConfig) { return ImmutableSweepBatchConfig.builder() .maxCellTsPairsToExamine(sweepConfig.readLimit()) .candidateBatchSize(sweepConfig.candidateBatchHint() .orElse(AtlasDbConstants.DEFAULT_SWEEP_CANDIDATE_BATCH_HINT)) .deleteBatchSize(sweepConfig.deleteBatchHint()) .build(); }