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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

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>


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.