- All Known Implementing Classes:
BooleanListOutput,GeoCoordinatesListOutput,GeoCoordinatesValueListOutput,GeoWithinListOutput,IntegerListOutput,KeyListOutput,KeyValueListOutput,PendingMessageListOutput,ScoredValueListOutput,StreamMessageListOutput,StreamReadOutput,StringListOutput,StringValueListOutput,ValueListOutput,ValueValueListOutput
public interface StreamingOutput<T>
Implementors of this class support a streaming
CommandOutput while the command is still processed. The receiving
StreamingOutput.Subscriber receives StreamingOutput.Subscriber.onNext(Collection, Object) calls while the command is active.- Since:
- 4.2
- Author:
- Mark Paluch
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStreamingOutput.Subscriber<T>Subscriber to aStreamingOutput. -
Method Summary
Modifier and Type Method Description StreamingOutput.Subscriber<T>getSubscriber()Retrieves theStreamingOutput.Subscriber.voidsetSubscriber(StreamingOutput.Subscriber<T> subscriber)Sets theStreamingOutput.Subscriber.
-
Method Details
-
setSubscriber
Sets theStreamingOutput.Subscriber.- Parameters:
subscriber-
-
getSubscriber
StreamingOutput.Subscriber<T> getSubscriber()Retrieves theStreamingOutput.Subscriber.- Returns:
-