Class BufferPoolMetrics


  • public class BufferPoolMetrics
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      com.codahale.metrics.Gauge<java.lang.Long> capacity
      Total threshold for a certain type of buffer pool
      com.codahale.metrics.Meter hits
      Total number of hits
      com.codahale.metrics.Meter misses
      Total number of misses
      com.codahale.metrics.Gauge<java.lang.Long> overflowSize
      Total size, in bytes, of direct or heap buffers allocated by the pool but not part of the pool either because they are too large to fit or because the pool has exceeded its maximum limit or because it's on-heap allocation.
      com.codahale.metrics.Gauge<java.lang.Long> size
      Total size of buffer pools, in bytes, including overflow allocation
      com.codahale.metrics.Gauge<java.lang.Long> usedSize
      Total size, in bytes, of active buffered being used from the pool currently + overflow
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • hits

        public final com.codahale.metrics.Meter hits
        Total number of hits
      • misses

        public final com.codahale.metrics.Meter misses
        Total number of misses
      • capacity

        public final com.codahale.metrics.Gauge<java.lang.Long> capacity
        Total threshold for a certain type of buffer pool
      • size

        public final com.codahale.metrics.Gauge<java.lang.Long> size
        Total size of buffer pools, in bytes, including overflow allocation
      • usedSize

        public final com.codahale.metrics.Gauge<java.lang.Long> usedSize
        Total size, in bytes, of active buffered being used from the pool currently + overflow
      • overflowSize

        public final com.codahale.metrics.Gauge<java.lang.Long> overflowSize
        Total size, in bytes, of direct or heap buffers allocated by the pool but not part of the pool either because they are too large to fit or because the pool has exceeded its maximum limit or because it's on-heap allocation.
    • Constructor Detail

      • BufferPoolMetrics

        public BufferPoolMetrics​(java.lang.String scope,
                                 BufferPool bufferPool)