org.apache.hadoop.hbase.replication
Class ReplicationLoadSource

java.lang.Object
  extended by org.apache.hadoop.hbase.replication.ReplicationLoadSource

@InterfaceAudience.Private
public class ReplicationLoadSource
extends Object

A HBase ReplicationLoad to present MetricsSource information


Constructor Summary
ReplicationLoadSource(String id, long age, int size, long timeStamp, long lag)
           
 
Method Summary
 long getAgeOfLastShippedOp()
           
 String getPeerID()
           
 long getReplicationLag()
           
 long getSizeOfLogQueue()
           
 long getTimeStampOfLastShippedOp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationLoadSource

public ReplicationLoadSource(String id,
                             long age,
                             int size,
                             long timeStamp,
                             long lag)
Method Detail

getPeerID

public String getPeerID()

getAgeOfLastShippedOp

public long getAgeOfLastShippedOp()

getSizeOfLogQueue

public long getSizeOfLogQueue()

getTimeStampOfLastShippedOp

public long getTimeStampOfLastShippedOp()

getReplicationLag

public long getReplicationLag()


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