public static interface DirectBufferPoolAllocator.IAllocationContext
ByteBuffers 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.UUIDs of those allocations.InterruptedExceptionvoid release()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.