Package org.apache.hadoop.metrics2.util

Class Summary
Contracts Utilities for programming by contract (preconditions, postconditions etc.)
MBeans This util class provides a method to register an MBean using our standard naming convention as described in the doc for {link MBeans.register(String, String, Object)
MetricsCache A metrics cache for sinks that don't support sparse updates.
MetricsCache.Record Cached record
SampleStat Helper to compute running sample stats
SampleStat.MinMax Helper to keep running min/max
Servers Helpers to handle server addresses
TryIterator<T> A base class for unmodifiable iterators (throws on remove) This class also makes writing filtering iterators easier, where the only way to discover the end of data is by trying to read it.

Copyright © 2009 The Apache Software Foundation