T - the generic type of the streams being cursoredpublic interface CursorProviderFactory<T>
CursorStreamProvider| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Object value) |
Object |
of(Event event,
T value)
Optionally creates a new
CursorProvider to buffer the given value. |
Object of(Event event, T value)
CursorProvider to buffer the given value.
Implementations might resolve that the given stream is/should not be buffered and thus it will return the same given stream. In that case, the stream will be unaltered.
event - the event on which buffering is talking placevalue - the stream to be cursoredCursorProvider or the same given inputStreamboolean accepts(Object value)
value - a streamCursor out of the given valueCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.