public final class InMemoryCursorStreamConfig extends Object
CursorStream which uses memory for buffering| Constructor and Description |
|---|
InMemoryCursorStreamConfig(org.mule.runtime.api.util.DataSize initialBufferSize,
org.mule.runtime.api.util.DataSize bufferSizeIncrement,
org.mule.runtime.api.util.DataSize maxBufferSize)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.util.DataSize |
getBufferSizeIncrement() |
static InMemoryCursorStreamConfig |
getDefault() |
org.mule.runtime.api.util.DataSize |
getInitialBufferSize() |
org.mule.runtime.api.util.DataSize |
getMaxBufferSize() |
public InMemoryCursorStreamConfig(org.mule.runtime.api.util.DataSize initialBufferSize,
org.mule.runtime.api.util.DataSize bufferSizeIncrement,
org.mule.runtime.api.util.DataSize maxBufferSize)
initialBufferSize - the buffer's initial size. Must be greater than zero bytes.bufferSizeIncrement - the size that the buffer should gain each time it is expanded. A value of zero bytes means no expansion.
Cannot be negative byte size.maxBufferSize - the maximum amount of space that the buffer can grow to. Use null for unbounded bufferspublic static InMemoryCursorStreamConfig getDefault()
public org.mule.runtime.api.util.DataSize getInitialBufferSize()
public org.mule.runtime.api.util.DataSize getBufferSizeIncrement()
public org.mule.runtime.api.util.DataSize getMaxBufferSize()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.