org.apache.hadoop.hbase.replication.regionserver
Class ReplicationSource.LogsComparator

java.lang.Object
  extended by org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.LogsComparator
All Implemented Interfaces:
Comparator<org.apache.hadoop.fs.Path>
Enclosing class:
ReplicationSource

public static class ReplicationSource.LogsComparator
extends Object
implements Comparator<org.apache.hadoop.fs.Path>

Comparator used to compare logs together based on their start time


Constructor Summary
ReplicationSource.LogsComparator()
           
 
Method Summary
 int compare(org.apache.hadoop.fs.Path o1, org.apache.hadoop.fs.Path o2)
           
 boolean equals(Object o)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationSource.LogsComparator

public ReplicationSource.LogsComparator()
Method Detail

compare

public int compare(org.apache.hadoop.fs.Path o1,
                   org.apache.hadoop.fs.Path o2)
Specified by:
compare in interface Comparator<org.apache.hadoop.fs.Path>

equals

public boolean equals(Object o)
Specified by:
equals in interface Comparator<org.apache.hadoop.fs.Path>
Overrides:
equals in class Object


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.