Package org.infinispan.stream.impl
Class CacheIntermediatePublisher<R>
java.lang.Object
org.infinispan.stream.impl.CacheIntermediatePublisher<R>
- Type Parameters:
- R-
- All Implemented Interfaces:
- Function<org.reactivestreams.Publisher<Object>,,- org.reactivestreams.Publisher<R>> - org.infinispan.commands.functional.functions.InjectableComponent,- ModifiedValueFunction<org.reactivestreams.Publisher<Object>,- org.reactivestreams.Publisher<R>> 
public final class CacheIntermediatePublisher<R>
extends Object
implements ModifiedValueFunction<org.reactivestreams.Publisher<Object>,org.reactivestreams.Publisher<R>>, org.infinispan.commands.functional.functions.InjectableComponent 
Function that is used to encapsulate multiple intermediate operations and perform them lazily when the function
 is applied.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final class
- 
Constructor SummaryConstructorsConstructorDescriptionCacheIntermediatePublisher(Iterable<org.infinispan.stream.impl.intops.IntermediateOperation<?, ?, ?, ?>> intOps) 
- 
Method SummaryModifier and TypeMethodDescriptionorg.reactivestreams.Publisher<R>voidinject(ComponentRegistry registry) booleanThis method should return true when this function changes the actual values of the Publisher.
- 
Constructor Details- 
CacheIntermediatePublisherpublic CacheIntermediatePublisher(Iterable<org.infinispan.stream.impl.intops.IntermediateOperation<?, ?, ?, ?>> intOps) 
 
- 
- 
Method Details- 
apply
- 
isModifiedpublic boolean isModified()Description copied from interface:ModifiedValueFunctionThis method should return true when this function changes the actual values of the Publisher. This can be useful for some optimizations that may need to track produced values from the original.- Specified by:
- isModifiedin interface- ModifiedValueFunction<org.reactivestreams.Publisher<Object>,- org.reactivestreams.Publisher<R>> 
- Returns:
- if the values in the publisher are changed
 
- 
inject- Specified by:
- injectin interface- org.infinispan.commands.functional.functions.InjectableComponent
 
 
-