|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.yammer.metrics.core.VirtualMachineMetrics.BufferPoolStats
public static class VirtualMachineMetrics.BufferPoolStats
The management interface for a buffer pool, for example a pool of direct or mapped
buffers.
| Method Summary | |
|---|---|
long |
getCount()
Returns an estimate of the number of buffers in the pool. |
long |
getMemoryUsed()
Returns an estimate of the memory that the Java virtual machine is using for this buffer pool. |
long |
getTotalCapacity()
Returns an estimate of the total capacity of the buffers in this pool. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public long getCount()
public long getMemoryUsed()
capacity of the buffers in this pool. This difference is explained by
alignment, memory allocator, and other implementation specific reasons.
-1L if an estimate of the memory usage is not
availablepublic long getTotalCapacity()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||