public class DirectByteBufferProvider extends ThreadPoolBasedByteBufferProvider
ByteBufferProvider implementation that can be used to retrieve direct
ByteBuffer's.
Based on Grizzly Implementation.DEFAULT_MAX_BUFFER_SIZE, maxBufferSize| Constructor and Description |
|---|
DirectByteBufferProvider() |
DirectByteBufferProvider(int maxSize,
int baseByteBufferSize,
int growthFactor,
int numberOfPools) |
| Modifier and Type | Method and Description |
|---|---|
protected ByteBuffer |
doAllocate(int size) |
allocate, allocateAtLeast, dispose, getByteArray, getThreadLocalPools, reallocate, releasepublic DirectByteBufferProvider()
public DirectByteBufferProvider(int maxSize,
int baseByteBufferSize,
int growthFactor,
int numberOfPools)
protected ByteBuffer doAllocate(int size)
doAllocate in class ThreadPoolBasedByteBufferProviderCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.