public class HeapByteBufferProvider extends ThreadPoolBasedByteBufferProvider
ByteBufferProvider implementation that can be used to retrieve heap
ByteBuffer's.
Based on Grizzly Implementation.DEFAULT_MAX_BUFFER_SIZE, maxBufferSize| Constructor and Description |
|---|
HeapByteBufferProvider() |
HeapByteBufferProvider(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 HeapByteBufferProvider()
public HeapByteBufferProvider(int maxSize,
int baseByteBufferSize,
int growthFactor,
int numberOfPools)
protected ByteBuffer doAllocate(int size)
doAllocate in class ThreadPoolBasedByteBufferProviderCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.