Interface MetricsReplicationGlobalSourceSource
- All Superinterfaces:
BaseSource,MetricsReplicationSourceSource
- All Known Implementing Classes:
MetricsReplicationGlobalSourceSourceImpl
@Private
public interface MetricsReplicationGlobalSourceSource
extends MetricsReplicationSourceSource
-
Field Summary
FieldsFields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
HBASE_METRICS_SYSTEM_NAMEFields inherited from interface org.apache.hadoop.hbase.replication.regionserver.MetricsReplicationSourceSource
SOURCE_AGE_OF_LAST_SHIPPED_OP, SOURCE_CLOSED_LOGS_WITH_UNKNOWN_LENGTH, SOURCE_COMPLETED_LOGS, SOURCE_COMPLETED_RECOVERY_QUEUES, SOURCE_FAILED_BATCHES, SOURCE_FAILED_RECOVERY_QUEUES, SOURCE_INITIALIZING, SOURCE_LOG_EDITS_FILTERED, SOURCE_LOG_READ_IN_BYTES, SOURCE_LOG_READ_IN_EDITS, SOURCE_REPEATED_LOG_FILE_BYTES, SOURCE_RESTARTED_LOG_READING, SOURCE_SHIPPED_BATCHES, SOURCE_SHIPPED_BYTES, SOURCE_SHIPPED_HFILES, SOURCE_SHIPPED_KBS, SOURCE_SHIPPED_OPS, SOURCE_SIZE_OF_HFILE_REFS_QUEUE, SOURCE_SIZE_OF_LOG_QUEUE, SOURCE_UNCLEANLY_CLOSED_IGNORED_IN_BYTES, SOURCE_UNCLEANLY_CLOSED_LOGS -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the size, in bytes, of edits held in memory to be replicated across all peers.voidsetWALReaderEditsBufferBytes(long usage) Sets the total usage of memory used by edits in memory read from WALs.Methods inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogramMethods inherited from interface org.apache.hadoop.hbase.replication.regionserver.MetricsReplicationSourceSource
clear, decrSizeOfHFileRefsQueue, decrSizeOfLogQueue, decrSourceInitializing, getEditsFiltered, getLastShippedAge, getOldestWalAge, getShippedOps, getSizeOfLogQueue, getSourceInitializing, getUncleanlyClosedWALs, getWALEditsRead, incrBatchesShipped, incrBytesSkippedInUncleanlyClosedWALs, incrCompletedRecoveryQueue, incrCompletedWAL, incrFailedBatches, incrFailedRecoveryQueue, incrHFilesShipped, incrLogEditsFiltered, incrLogReadInBytes, incrLogReadInEdits, incrOpsShipped, incrRepeatedFileBytes, incrRestartedWALReading, incrShippedBytes, incrSizeOfHFileRefsQueue, incrSizeOfLogQueue, incrSourceInitializing, incrUncleanlyClosedWALs, incrUnknownFileLengthForClosedWAL, setLastShippedAge, setOldestWalAge
-
Field Details
-
SOURCE_WAL_READER_EDITS_BUFFER
- See Also:
-
-
Method Details
-
setWALReaderEditsBufferBytes
Sets the total usage of memory used by edits in memory read from WALs. The memory represented by this usage measure is across peers/sources. For example, we may batch the same WAL edits multiple times for the sake of replicating them to multiple peers..- Parameters:
usage- The memory used by edits in bytes
-
getWALReaderEditsBufferBytes
long getWALReaderEditsBufferBytes()Returns the size, in bytes, of edits held in memory to be replicated across all peers.
-