org.apache.hadoop.metrics2
usage.@Deprecated @InterfaceAudience.Public @InterfaceStability.Evolving public class NullContext extends AbstractMetricsContext
AbstractMetricsContext.MetricMap, AbstractMetricsContext.TagMap
DEFAULT_PERIOD
构造器和说明 |
---|
NullContext()
已过时。
Creates a new instance of NullContext
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
emitRecord(String contextName,
String recordName,
OutputRecord outRec)
已过时。
Do-nothing version of emitRecord
|
protected void |
remove(MetricsRecordImpl record)
已过时。
Do-nothing version of remove
|
void |
startMonitoring()
已过时。
Do-nothing version of startMonitoring
|
protected void |
update(MetricsRecordImpl record)
已过时。
Do-nothing version of update
|
close, createRecord, flush, getAllRecords, getAttribute, getAttributeTable, getContextFactory, getContextName, getPeriod, init, isMonitoring, newRecord, parseAndSetPeriod, registerUpdater, setPeriod, stopMonitoring, unregisterUpdater
@InterfaceAudience.Private public NullContext()
@InterfaceAudience.Private public void startMonitoring()
startMonitoring
在接口中 MetricsContext
startMonitoring
在类中 AbstractMetricsContext
@InterfaceAudience.Private protected void emitRecord(String contextName, String recordName, OutputRecord outRec)
emitRecord
在类中 AbstractMetricsContext
@InterfaceAudience.Private protected void update(MetricsRecordImpl record)
update
在类中 AbstractMetricsContext
@InterfaceAudience.Private protected void remove(MetricsRecordImpl record)
remove
在类中 AbstractMetricsContext
Copyright © 2009 The Apache Software Foundation