public class GangliaContext31 extends GangliaContext
buffer, datagramSocket, metricsServers, offset
DEFAULT_PERIOD
Constructor and Description |
---|
GangliaContext31() |
Modifier and Type | Method and Description |
---|---|
protected void |
emitMetric(String name,
String type,
String value) |
void |
init(String contextName,
ContextFactory factory)
Initializes the context.
|
emitRecord, getDmax, getSlope, getTmax, getUnits, xdr_int, xdr_string
close, createRecord, flush, getAttribute, getAttributeTable, getContextFactory, getContextName, getPeriod, isMonitoring, newRecord, registerUpdater, remove, setPeriod, startMonitoring, stopMonitoring, unregisterUpdater, update
public void init(String contextName, ContextFactory factory)
AbstractMetricsContext
init
in interface MetricsContext
init
in class GangliaContext
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 © 2010 The Apache Software Foundation