java.lang.Object | ||
↳ | org.apache.directmemory.memory.allocator.AbstractByteBufferAllocator | |
↳ | org.apache.directmemory.memory.allocator.SlabByteBufferAllocator |
Allocator
implementation that uses FixedSizeByteBufferAllocatorImpl
of different size to allocate best matching's size ByteBuffer
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.directmemory.memory.allocator.AbstractByteBufferAllocator
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.directmemory.memory.allocator.AbstractByteBufferAllocator
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
| |||||||||||
From interface
org.apache.directmemory.memory.allocator.Allocator
|
Constructor.
number | : internal allocator identifier |
---|---|
slabs | : FixedSizeByteBufferAllocatorImpl to use for allocation |
allowAllocationToBiggerSlab | : tells if it is allowed to look in a bigger slab to perform the request. |