org.apache.hadoop.metrics2 usage.@Deprecated @InterfaceAudience.Public @InterfaceStability.Evolving public class NullContextWithUpdateThread extends AbstractMetricsContext
AbstractMetricsContext.MetricMap, AbstractMetricsContext.TagMapDEFAULT_PERIOD| 构造器和说明 |
|---|
NullContextWithUpdateThread()
已过时。
Creates a new instance of NullContextWithUpdateThread
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
emitRecord(String contextName,
String recordName,
OutputRecord outRec)
已过时。
Do-nothing version of emitRecord
|
void |
init(String contextName,
ContextFactory factory)
已过时。
Initializes the context.
|
protected void |
remove(MetricsRecordImpl record)
已过时。
Do-nothing version of remove
|
protected void |
update(MetricsRecordImpl record)
已过时。
Do-nothing version of update
|
close, createRecord, flush, getAllRecords, getAttribute, getAttributeTable, getContextFactory, getContextName, getPeriod, isMonitoring, newRecord, parseAndSetPeriod, registerUpdater, setPeriod, startMonitoring, stopMonitoring, unregisterUpdater@InterfaceAudience.Private public NullContextWithUpdateThread()
@InterfaceAudience.Private public void init(String contextName, ContextFactory factory)
AbstractMetricsContextinit 在接口中 MetricsContextinit 在类中 AbstractMetricsContextcontextName - The given name for this contextfactory - The creator of this context@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 在类中 AbstractMetricsContextCopyright © 2009 The Apache Software Foundation