public class AllocatorMetric extends DefaultAllocatorMetric
| Constructor and Description |
|---|
AllocatorMetric() |
| Modifier and Type | Method and Description |
|---|---|
void |
allocated(int capacity)
Called when a true allocation (not taken from a cache or a pool) was
performed by the associated allocator.
|
long |
getAllocatedSize() |
allocating, ensure, ensureSome, extend, getAllocatedCount, getAllocatingCount, getEnsureCount, getEnsureSomeCount, getExtendCount, getMaxCapacity, getReduceCount, getReleasedCount, getReleasingCount, reduce, released, releasingpublic void allocated(int capacity)
IDefaultAllocatorMetricCollectorallocated in interface IDefaultAllocatorMetricCollectorallocated in class DefaultAllocatorMetriccapacity - capacity of the allocated bufferpublic long getAllocatedSize()
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.