public class ChunkQueueMetrics extends Object implements org.apache.hadoop.metrics.Updater
Modifier and Type | Field and Description |
---|---|
org.apache.hadoop.metrics.util.MetricsTimeVaryingInt |
addedChunk |
org.apache.hadoop.metrics.util.MetricsLongValue |
dataSize |
org.apache.hadoop.metrics.util.MetricsIntValue |
fullQueue |
org.apache.hadoop.metrics.util.MetricsIntValue |
queueSize |
org.apache.hadoop.metrics.util.MetricsRegistry |
registry |
org.apache.hadoop.metrics.util.MetricsTimeVaryingInt |
removedChunk |
Constructor and Description |
---|
ChunkQueueMetrics(String processName,
String recordName)
Creates a new instance of QueueMetrics
|
public org.apache.hadoop.metrics.util.MetricsRegistry registry
public org.apache.hadoop.metrics.util.MetricsIntValue queueSize
public org.apache.hadoop.metrics.util.MetricsLongValue dataSize
public org.apache.hadoop.metrics.util.MetricsTimeVaryingInt addedChunk
public org.apache.hadoop.metrics.util.MetricsTimeVaryingInt removedChunk
public org.apache.hadoop.metrics.util.MetricsIntValue fullQueue
public void doUpdates(org.apache.hadoop.metrics.MetricsContext unused)
doUpdates
in interface org.apache.hadoop.metrics.Updater
public void shutdown()
Copyright © ${year} The Apache Software Foundation