public class DefaultStreamingManager extends Object implements StreamingManager, org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable
| Constructor and Description |
|---|
DefaultStreamingManager() |
| Modifier and Type | Method and Description |
|---|---|
protected ByteStreamingManager |
createByteStreamingManager() |
protected ObjectStreamingManager |
createObjectStreamingManager() |
void |
dispose() |
ByteStreamingManager |
forBytes() |
ObjectStreamingManager |
forObjects() |
protected ByteBufferManager |
getBufferManager() |
StreamingStatistics |
getStreamingStatistics() |
void |
initialise() |
org.mule.runtime.api.streaming.CursorProvider |
manage(org.mule.runtime.api.streaming.CursorProvider provider,
Event creatorEvent)
Becomes aware of the given
provider and returns a replacement provider
which is managed by the runtime, allowing for automatic resource handling |
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionprotected ByteStreamingManager createByteStreamingManager()
protected ObjectStreamingManager createObjectStreamingManager()
public void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic ByteStreamingManager forBytes()
forBytes in interface StreamingManagerpublic ObjectStreamingManager forObjects()
forObjects in interface StreamingManagerpublic org.mule.runtime.api.streaming.CursorProvider manage(org.mule.runtime.api.streaming.CursorProvider provider,
Event creatorEvent)
provider and returns a replacement provider
which is managed by the runtime, allowing for automatic resource handlingmanage in interface StreamingManagerprovider - the provider to be trackedcreatorEvent - the event that created the providerCursorContextpublic StreamingStatistics getStreamingStatistics()
getStreamingStatistics in interface StreamingManagerprotected ByteBufferManager getBufferManager()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.