T
- the generic type of the streams being cursored@NoImplement public interface CursorProviderFactory<T>
CursorStreamProvider
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Object value) |
Object |
of(CoreEvent event,
T value)
Optionally creates a new
CursorProvider to buffer the given value . |
Object of(CoreEvent 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 inputStream
Copyright © 2018. All rights reserved.