public interface AllocationListener
It is expected to be called from multiple threads and as such, provider should take care of making the implementation thread-safe
| Modifier and Type | Field and Description |
|---|---|
static AllocationListener |
NOOP |
| Modifier and Type | Method and Description |
|---|---|
void |
onAllocation(long size)
Called each time a new buffer is allocated
|
static final AllocationListener NOOP
Copyright © 2017 The Apache Software Foundation. All rights reserved.