public interface LazyToQueue<U> extends ToQueue<U>
Modifier and Type | Method and Description |
---|---|
default U |
add(U value,
Queue<U> queue) |
<T,R> LazyFutureStream<R> |
allOf(java.util.stream.Collector collector,
java.util.function.Function<T,R> fn) |
<T extends BaseSimpleReact> |
getPopulator() |
<T extends BaseSimpleReact> |
returnPopulator(T service) |
<R> LazyFutureStream<R> |
then(java.util.function.Function<U,R> fn,
java.util.concurrent.Executor exec) |
<R> LazyFutureStream<R> |
thenSync(java.util.function.Function<U,R> fn) |
default Queue<U> |
toQueue()
Convert the current Stream to a simple-react Queue
|
default Queue<U> |
toQueue(java.util.function.Function<Queue,Queue> fn)
Method to create a Queue that can be modified by supplied funciton
|
default <K> void |
toQueue(java.util.Map<K,Queue<U>> shards,
java.util.function.Function<U,K> sharder)
Sharded data in queues
|
getQueueFactory
<T,R> LazyFutureStream<R> allOf(java.util.stream.Collector collector, java.util.function.Function<T,R> fn)
<R> LazyFutureStream<R> then(java.util.function.Function<U,R> fn, java.util.concurrent.Executor exec)
<R> LazyFutureStream<R> thenSync(java.util.function.Function<U,R> fn)
<T extends BaseSimpleReact> T getPopulator()
default Queue<U> toQueue(java.util.function.Function<Queue,Queue> fn)
ToQueue
default <K> void toQueue(java.util.Map<K,Queue<U>> shards, java.util.function.Function<U,K> sharder)
ToQueue
<T extends BaseSimpleReact> void returnPopulator(T service)