Class BufferPoolMetrics

java.lang.Object
org.apache.cassandra.metrics.BufferPoolMetrics

public class BufferPoolMetrics extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final com.codahale.metrics.Gauge<Long>
    Total threshold for a certain type of buffer pool
    final com.codahale.metrics.Meter
    Total number of hits
    final com.codahale.metrics.Meter
    Total number of misses
    final com.codahale.metrics.Gauge<Long>
    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.
    final com.codahale.metrics.Gauge<Long>
    Total size of buffer pools, in bytes, including overflow allocation
    final com.codahale.metrics.Gauge<Long>
    Total size, in bytes, of active buffered being used from the pool currently + overflow
  • Constructor Summary

    Constructors
    Constructor
    Description
    BufferPoolMetrics(String scope, BufferPool bufferPool)
     
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • 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<Long> capacity
      Total threshold for a certain type of buffer pool
    • size

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

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

      public final com.codahale.metrics.Gauge<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 Details

    • BufferPoolMetrics

      public BufferPoolMetrics(String scope, BufferPool bufferPool)