org.apache.hadoop.hbase.replication.regionserver
Class MetricsReplicationSinkSourceImpl

java.lang.Object
  extended by org.apache.hadoop.hbase.replication.regionserver.MetricsReplicationSinkSourceImpl
All Implemented Interfaces:
MetricsReplicationSinkSource

public class MetricsReplicationSinkSourceImpl
extends Object
implements MetricsReplicationSinkSource


Field Summary
 
Fields inherited from interface org.apache.hadoop.hbase.replication.regionserver.MetricsReplicationSinkSource
SINK_AGE_OF_LAST_APPLIED_OP, SINK_APPLIED_BATCHES, SINK_APPLIED_OPS
 
Constructor Summary
MetricsReplicationSinkSourceImpl(MetricsReplicationSourceImpl rms)
           
 
Method Summary
 long getLastAppliedOpAge()
           
 void incrAppliedBatches(long batches)
           
 void incrAppliedOps(long batchsize)
           
 void setLastAppliedOpAge(long age)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricsReplicationSinkSourceImpl

public MetricsReplicationSinkSourceImpl(MetricsReplicationSourceImpl rms)
Method Detail

setLastAppliedOpAge

public void setLastAppliedOpAge(long age)
Specified by:
setLastAppliedOpAge in interface MetricsReplicationSinkSource

incrAppliedBatches

public void incrAppliedBatches(long batches)
Specified by:
incrAppliedBatches in interface MetricsReplicationSinkSource

incrAppliedOps

public void incrAppliedOps(long batchsize)
Specified by:
incrAppliedOps in interface MetricsReplicationSinkSource

getLastAppliedOpAge

public long getLastAppliedOpAge()
Specified by:
getLastAppliedOpAge in interface MetricsReplicationSinkSource


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