public final class InMemoryCursorIteratorConfig extends Object
CursorIterator which uses memory for buffering| Constructor and Description |
|---|
InMemoryCursorIteratorConfig(int initialBufferSize,
int bufferSizeIncrement,
int maxBufferSize)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBufferSizeIncrement() |
static InMemoryCursorIteratorConfig |
getDefault() |
int |
getInitialBufferSize() |
int |
getMaxBufferSize() |
public InMemoryCursorIteratorConfig(int initialBufferSize,
int bufferSizeIncrement,
int maxBufferSize)
initialBufferSize - the buffer's initial size. Must be greater than zerobufferSizeIncrement - the size that the buffer should gain each time it is expanded. A value of zero means no expansion.
Cannot be lower than zero.maxBufferSize - the maximum amount of space that the buffer can grow to. Use null for unbounded buffersIllegalArgumentException - if any of the given arguments is invalidpublic static InMemoryCursorIteratorConfig getDefault()
public int getInitialBufferSize()
public int getBufferSizeIncrement()
public int getMaxBufferSize()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.