@ Override public int compareTo ( TtlBucket ttlBucket ) { long startTime1 = getTtlIntervalStartTimeMs ( ) ; long startTime2 = ttlBucket . getTtlIntervalStartTimeMs ( ) ; return Long . compare ( startTime1 , startTime2 ) ; }
Compares this bucket s TTL interval start time to that of another bucket .