public class GangliaContext31 extends GangliaContext
AbstractMetricsContext.MetricMap, AbstractMetricsContext.TagMap
buffer, datagramSocket, metricsServers, offset
DEFAULT_PERIOD
构造器和说明 |
---|
GangliaContext31() |
限定符和类型 | 方法和说明 |
---|---|
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, getAllRecords, getAttribute, getAttributeTable, getContextFactory, getContextName, getPeriod, isMonitoring, newRecord, parseAndSetPeriod, registerUpdater, remove, setPeriod, startMonitoring, stopMonitoring, unregisterUpdater, update
public void init(String contextName, ContextFactory factory)
AbstractMetricsContext
init
在接口中 MetricsContext
init
在类中 GangliaContext
contextName
- The given name for this contextfactory
- The creator of this contextprotected void emitMetric(String name, String type, String value) throws IOException
emitMetric
在类中 GangliaContext
IOException
Copyright © 2009 The Apache Software Foundation