public final class HeapPoolAllocator extends PoolAllocator
pool
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
allocate(int size) |
java.nio.ByteBuffer |
allocate(int size,
OpOrder.Group opGroup) |
void |
free(java.nio.ByteBuffer name)
Mark the BB as unused, permitting it to be reclaimed
|
clone, isLive, markAllocated, ownershipRatio, owns, reclaiming, setDiscarded, setDiscarding, wrap
clone
public java.nio.ByteBuffer allocate(int size)
allocate
in class AbstractAllocator
public java.nio.ByteBuffer allocate(int size, OpOrder.Group opGroup)
allocate
in class PoolAllocator
public void free(java.nio.ByteBuffer name)
PoolAllocator
free
in class PoolAllocator
Copyright © 2014 The Apache Software Foundation