GangliaSink31
instead.@Deprecated public class GangliaContext31 extends GangliaContext
buffer, datagramSocket, metricsServers, offset
Constructor and Description |
---|
GangliaContext31()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
emitMetric(String name,
String type,
String value)
Deprecated.
|
void |
init(String contextName,
org.apache.hadoop.metrics.ContextFactory factory)
Deprecated.
Initializes the context.
|
close, getDmax, getSlope, getTmax, getUnits, xdr_int, xdr_string
createRecord, emitRecord, flush, getAllRecords, getAttribute, getAttributeTable, getContextFactory, getContextName, getPeriod, isMonitoring, newRecord, parseAndSetPeriod, registerUpdater, remove, setPeriod, startMonitoring, stopMonitoring, unregisterUpdater, update
public GangliaContext31()
public void init(String contextName, org.apache.hadoop.metrics.ContextFactory factory)
AbstractMetricsContext
init
in interface org.apache.hadoop.metrics.MetricsContext
contextName
- The given name for this contextfactory
- The creator of this contextprotected void emitMetric(String name, String type, String value) throws IOException
emitMetric
in class GangliaContext
IOException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.