Package org.apache.bookkeeper.stats
A lightweight stats library used for exporting bookkeeper stats.
-
Interface Summary Interface Description Counter Simple stats that require only increment and decrement functions on a Long.Gauge<T extends java.lang.Number> A guage is a value that has only one value at a specific point in time.OpStatsLogger This interface handles logging of statistics related to each operation.StatsLogger A simple interface that exposes just 2 useful methods.StatsProvider Provider to provide stats logger for different scopes. -
Class Summary Class Description AlertStatsLogger This class is used to raise alert when we detect an event that should never happen in production.CachingStatsLogger AStatsLogger
that caches the stats objects created by otherStatsLogger
.CachingStatsProvider ACachingStatsProvider
adds the caching functionality to an existingStatsProvider
.NullStatsLogger A no-opStatsLogger
.NullStatsLogger.NullCounter A no-opCounter
.NullStatsLogger.NullOpStatsLogger A no-opOpStatsLogger
.NullStatsProvider A no-op stats provider implementation.OpStatsData This class provides a read view of operation specific stats.Stats An umbrella class for loading stats provider.ThreadRegistry For mapping thread ids to thread pools and threads within those pools or just for lone named threads.ThreadRegistry.ThreadPoolThread Stores the thread pool and ordinal.