public class InMemoryCursorStreamProvider extends AbstractCursorStreamProvider
AbstractCursorStreamProvider which yields
cursors that only use memory for bufferingwrappedStream| Constructor and Description |
|---|
InMemoryCursorStreamProvider(InputStream wrappedStream,
InMemoryCursorStreamConfig config,
ByteBufferManager bufferManager)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
protected org.mule.runtime.api.streaming.bytes.CursorStream |
doOpenCursor() |
void |
releaseResources() |
close, isClosed, openCursorpublic InMemoryCursorStreamProvider(InputStream wrappedStream, InMemoryCursorStreamConfig config, ByteBufferManager bufferManager)
wrappedStream - the stream to buffer fromconfig - the config of the generated bufferbufferManager - the ByteBufferManager that will be used to allocate all buffersprotected org.mule.runtime.api.streaming.bytes.CursorStream doOpenCursor()
doOpenCursor in class AbstractCursorStreamProviderpublic void releaseResources()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.