private long getLastSweptTs(TimestampsToSweep startTsCommitted, Iterator<Map.Entry<Cell, Value>> resultIterator, long partitionFine, long maxTsExclusive) { if (startTsCommitted.processedAll() && exhaustedAllColumns(resultIterator)) { return lastGuaranteedSwept(partitionFine, maxTsExclusive); } else { return startTsCommitted.maxSwept(); } }
private long getLastSweptTs(TimestampsToSweep startTsCommitted, Iterator<Map.Entry<Cell, Value>> resultIterator, long partitionFine, long maxTsExclusive) { if (startTsCommitted.processedAll() && exhaustedAllColumns(resultIterator)) { return lastGuaranteedSwept(partitionFine, maxTsExclusive); } else { return startTsCommitted.maxSwept(); } }