Package org.streamingpool.core.support
Class StreamCollectingSupport.OngoingBlockingCollecting<T>
- java.lang.Object
-
- org.streamingpool.core.support.StreamCollectingSupport.OngoingBlockingCollecting<T>
-
- Enclosing interface:
- StreamCollectingSupport
public static class StreamCollectingSupport.OngoingBlockingCollecting<T> extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamCollectingSupport.OngoingBlockingCollecting<T>and()No-op method for fluent method chainingTawaitNext()StreamCollectingSupport.OngoingBlockingCollecting<T>skip(int itemsToSkip)Instruct theStreamCollectingSupport.OngoingBlockingCollectingto skip the given number of elements.
-
-
-
Method Detail
-
skip
public StreamCollectingSupport.OngoingBlockingCollecting<T> skip(int itemsToSkip)
Instruct theStreamCollectingSupport.OngoingBlockingCollectingto skip the given number of elements.
-
and
public StreamCollectingSupport.OngoingBlockingCollecting<T> and()
No-op method for fluent method chaining
-
awaitNext
public T awaitNext()
End theStreamCollectingSupport.OngoingBlockingCollecting. It discovers the stream with the given id, it applies all the registered operations and returns the value.
-
-