public class BufferPoolMetrics
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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
|
Constructor and Description |
---|
BufferPoolMetrics(java.lang.String scope,
BufferPool bufferPool) |
Modifier and Type | Method and Description |
---|---|
void |
register3xAlias()
used to register alias for 3.0/3.11 compatibility
|
public final com.codahale.metrics.Meter hits
public final com.codahale.metrics.Meter misses
public final com.codahale.metrics.Gauge<java.lang.Long> size
public final com.codahale.metrics.Gauge<java.lang.Long> usedSize
public final com.codahale.metrics.Gauge<java.lang.Long> overflowSize
public BufferPoolMetrics(java.lang.String scope, BufferPool bufferPool)
Copyright © 2009-2022 The Apache Software Foundation