@InterfaceAudience.Private public class MetricsReplicationSinkSourceImpl extends Object implements MetricsReplicationSinkSource
Modifier and Type | Field and Description |
---|---|
private MutableHistogram |
ageHist |
private MutableFastCounter |
batchesCounter |
private MutableFastCounter |
hfilesCounter |
private MutableFastCounter |
opsCounter |
SINK_AGE_OF_LAST_APPLIED_OP, SINK_APPLIED_BATCHES, SINK_APPLIED_HFILES, SINK_APPLIED_OPS
Constructor and Description |
---|
MetricsReplicationSinkSourceImpl(MetricsReplicationSourceImpl rms) |
Modifier and Type | Method and Description |
---|---|
long |
getLastAppliedOpAge() |
void |
incrAppliedBatches(long batches) |
void |
incrAppliedHFiles(long hfiles) |
void |
incrAppliedOps(long batchsize) |
void |
setLastAppliedOpAge(long age) |
private final MutableHistogram ageHist
private final MutableFastCounter batchesCounter
private final MutableFastCounter opsCounter
private final MutableFastCounter hfilesCounter
public MetricsReplicationSinkSourceImpl(MetricsReplicationSourceImpl rms)
public void setLastAppliedOpAge(long age)
setLastAppliedOpAge
in interface MetricsReplicationSinkSource
public void incrAppliedBatches(long batches)
incrAppliedBatches
in interface MetricsReplicationSinkSource
public void incrAppliedOps(long batchsize)
incrAppliedOps
in interface MetricsReplicationSinkSource
public long getLastAppliedOpAge()
getLastAppliedOpAge
in interface MetricsReplicationSinkSource
public void incrAppliedHFiles(long hfiles)
incrAppliedHFiles
in interface MetricsReplicationSinkSource
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.