public interface IDefaultAllocatorMetricCollector
DefaultAllocator
.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.
|
void |
allocating(int capacity)
Called when an allocation was performed by the associated allocator.
|
void |
ensure()
Called when allocation was performed as a result of calling
the
ensure method in
the associated allocator. |
void |
ensureSome()
Called when allocation was performed as a result of calling
the
ensureSome method in
the associated allocator. |
void |
extend()
Called when allocation was performed as a result of calling
the
extend method in
the associated allocator. |
void |
reduce()
Called when allocation was performed as a result of calling
the
reduce method in
the associated allocator. |
void |
released(int capacity)
Called when a buffer was released by the associated
allocator.
|
void |
releasing(int capacity)
Called when a buffer was requested for releasing by the associated
allocator.
|
void allocating(int capacity)
capacity
- requested capacity of the buffer to be allocatedvoid allocated(int capacity)
capacity
- capacity of the allocated buffervoid releasing(int capacity)
capacity
- capacity of the releasing buffervoid released(int capacity)
capacity
- capacity of the released buffervoid ensureSome()
ensureSome
method in
the associated allocator.void ensure()
ensure
method in
the associated allocator.void reduce()
reduce
method in
the associated allocator.void extend()
extend
method in
the associated allocator.Copyright © 2017–2022 SNF4J.ORG. All rights reserved.