Class NullContext

  extended by org.apache.hadoop.metrics.spi.AbstractMetricsContext
      extended by org.apache.hadoop.metrics.spi.NullContext
All Implemented Interfaces:

public class NullContext
extends AbstractMetricsContext

Null metrics context: a metrics context which does nothing. Used as the default context, so that no performance data is emitted if no configuration data is found.

Field Summary
Fields inherited from interface org.apache.hadoop.metrics.MetricsContext
Constructor Summary
          Creates a new instance of NullContext
Method Summary
Methods inherited from class org.apache.hadoop.metrics.spi.AbstractMetricsContext
close, createRecord, flush, getAllRecords, getAttribute, getAttributeTable, getContextFactory, getContextName, getPeriod, init, isMonitoring, newRecord, parseAndSetPeriod, registerUpdater, setPeriod, stopMonitoring, unregisterUpdater
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public NullContext()
Creates a new instance of NullContext

Copyright © 2014 Apache Software Foundation. All Rights Reserved.