@Override protected Optional<SweepResults> completeSweep(TableReference ignored, long ts) { when(timestampsSupplier.getUnreadableTimestamp()).thenReturn(ts); when(timestampsSupplier.getImmutableTimestamp()).thenReturn(ts); sweepQueue.sweepNextBatch(ShardAndStrategy.conservative(0)); sweepQueue.sweepNextBatch(ShardAndStrategy.thorough(0)); return Optional.empty(); }
@Override protected Optional<SweepResults> completeSweep(TableReference ignored, long ts) { when(timestampsSupplier.getUnreadableTimestamp()).thenReturn(ts); when(timestampsSupplier.getImmutableTimestamp()).thenReturn(ts); sweepQueue.sweepNextBatch(ShardAndStrategy.conservative(0)); sweepQueue.sweepNextBatch(ShardAndStrategy.thorough(0)); return Optional.empty(); }