public static class VirtualMachineMetrics.BufferPoolStats extends Object
| Modifier and Type | Field and Description |
|---|---|
private long |
count |
private long |
memoryUsed |
private long |
totalCapacity |
| Modifier | Constructor and Description |
|---|---|
private |
VirtualMachineMetrics.BufferPoolStats(long count,
long memoryUsed,
long totalCapacity) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
private final long count
private final long memoryUsed
private final long totalCapacity
private VirtualMachineMetrics.BufferPoolStats(long count,
long memoryUsed,
long totalCapacity)
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()
Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.