HBASE-8869 incorrect javadoc for CompactionRequest.compareTo()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1499806 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ae7685310b
commit
acc6dee508
|
@ -108,10 +108,9 @@ public class CompactionRequest implements Comparable<CompactionRequest> {
|
||||||
* priorities are the same it will first compare priority then date
|
* priorities are the same it will first compare priority then date
|
||||||
* to maintain a FIFO functionality.
|
* to maintain a FIFO functionality.
|
||||||
*
|
*
|
||||||
* <p>Note: The date is only accurate to the millisecond which means it is
|
* <p>Note: The enqueue timestamp is accurate to the nanosecond. if two
|
||||||
* possible that two requests were inserted into the queue within a
|
* requests have same timestamp then this function will break the tie
|
||||||
* millisecond. When that is the case this function will break the tie
|
* arbitrarily with hashCode() comparing.
|
||||||
* arbitrarily.
|
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public int compareTo(CompactionRequest request) {
|
public int compareTo(CompactionRequest request) {
|
||||||
|
|
Loading…
Reference in New Issue