Interface CandidateCellForSweeping
- All Superinterfaces:
Measurable
-
Method Summary
Modifier and TypeMethodDescriptioncell()
boolean
IfCandidateCellForSweepingRequest.shouldCheckIfLatestValueIsEmpty()
was set to true, then this method returns true if and only if the value corresponding to the last entry ofsortedTimestamps()
is empty.default long
All start timestamps for the cell that are strictly less thanCandidateCellForSweepingRequest.maxTimestampExclusive()
and are not inCandidateCellForSweepingRequest#timestampsToIgnore()
, in ascending order.
-
Method Details
-
cell
Cell cell() -
sortedTimestamps
Collection<Long> sortedTimestamps()All start timestamps for the cell that are strictly less thanCandidateCellForSweepingRequest.maxTimestampExclusive()
and are not inCandidateCellForSweepingRequest#timestampsToIgnore()
, in ascending order. If the array is empty, then the cell is not an actual candidate and is only returned for the purpose of reporting the number of examined cells. -
isLatestValueEmpty
boolean isLatestValueEmpty()IfCandidateCellForSweepingRequest.shouldCheckIfLatestValueIsEmpty()
was set to true, then this method returns true if and only if the value corresponding to the last entry ofsortedTimestamps()
is empty.Otherwise, the return value is undefined and depends on the implementation.
-
sizeInBytes
default long sizeInBytes()- Specified by:
sizeInBytes
in interfaceMeasurable
-