public static interface DirectBufferPoolAllocator.IAllocationContext
ByteBuffer
s on which allocations have been made by
the application.Modifier and Type | Method and Description |
---|---|
DirectBufferPoolAllocator.IAllocation[] |
alloc(int nbytes)
Allocate a series of
ByteBuffer slices on which the
application may write data. |
void |
release()
Release all allocations made against this allocation context.
|
DirectBufferPoolAllocator.IAllocation[] alloc(int nbytes) throws InterruptedException
ByteBuffer
slices on which the
application may write data. The application is encouraged to maintain
the order of the allocations in the array in order to preserve the
ordering of data written onto those allocation.nbytes
- The #of bytes required.UUID
s of those allocations.InterruptedException
void release()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.