private static class ByteBufferArray.BufferCreatorCallable extends Object implements Callable<ByteBuffer[]>
ByteBufferAllocator
Modifier and Type | Field and Description |
---|---|
private ByteBufferAllocator |
allocator |
private int |
bufferCapacity |
private int |
bufferCount |
Constructor and Description |
---|
BufferCreatorCallable(int bufferCapacity,
int bufferCount,
ByteBufferAllocator allocator) |
private final int bufferCapacity
private final int bufferCount
private final ByteBufferAllocator allocator
BufferCreatorCallable(int bufferCapacity, int bufferCount, ByteBufferAllocator allocator)
public ByteBuffer[] call() throws Exception
call
in interface Callable<ByteBuffer[]>
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.