@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() |
long |
getSinkAppliedOps() |
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 MetricsReplicationSinkSourcepublic void incrAppliedBatches(long batches)
incrAppliedBatches in interface MetricsReplicationSinkSourcepublic void incrAppliedOps(long batchsize)
incrAppliedOps in interface MetricsReplicationSinkSourcepublic long getLastAppliedOpAge()
getLastAppliedOpAge in interface MetricsReplicationSinkSourcepublic void incrAppliedHFiles(long hfiles)
incrAppliedHFiles in interface MetricsReplicationSinkSourcepublic long getSinkAppliedOps()
getSinkAppliedOps in interface MetricsReplicationSinkSourceCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.