Class MetricsReplicationSinkSourceImpl
java.lang.Object
org.apache.hadoop.hbase.replication.regionserver.MetricsReplicationSinkSourceImpl
- All Implemented Interfaces:
MetricsReplicationSinkSource
@Private
public class MetricsReplicationSinkSourceImpl
extends Object
implements MetricsReplicationSinkSource
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MutableHistogram
private final MutableFastCounter
private final MutableFastCounter
private final MutableFastCounter
private final MutableFastCounter
Fields inherited from interface org.apache.hadoop.hbase.replication.regionserver.MetricsReplicationSinkSource
SINK_AGE_OF_LAST_APPLIED_OP, SINK_APPLIED_BATCHES, SINK_APPLIED_HFILES, SINK_APPLIED_OPS, SINK_FAILED_BATCHES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
void
incrAppliedBatches
(long batches) void
incrAppliedHFiles
(long hfiles) void
incrAppliedOps
(long batchsize) void
void
setLastAppliedOpAge
(long age)
-
Field Details
-
ageHist
-
batchesCounter
-
failedBatchesCounter
-
opsCounter
-
hfilesCounter
-
-
Constructor Details
-
MetricsReplicationSinkSourceImpl
-
-
Method Details
-
setLastAppliedOpAge
- Specified by:
setLastAppliedOpAge
in interfaceMetricsReplicationSinkSource
-
incrAppliedBatches
- Specified by:
incrAppliedBatches
in interfaceMetricsReplicationSinkSource
-
incrAppliedOps
- Specified by:
incrAppliedOps
in interfaceMetricsReplicationSinkSource
-
incrFailedBatches
- Specified by:
incrFailedBatches
in interfaceMetricsReplicationSinkSource
-
getFailedBatches
- Specified by:
getFailedBatches
in interfaceMetricsReplicationSinkSource
-
getLastAppliedOpAge
- Specified by:
getLastAppliedOpAge
in interfaceMetricsReplicationSinkSource
-
incrAppliedHFiles
- Specified by:
incrAppliedHFiles
in interfaceMetricsReplicationSinkSource
-
getSinkAppliedOps
- Specified by:
getSinkAppliedOps
in interfaceMetricsReplicationSinkSource
-