Package com.yahoo.processing.test
Class ProcessorLibrary.EagerReturnFederator
java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.component.chain.ChainedComponent
com.yahoo.processing.Processor
com.yahoo.processing.test.ProcessorLibrary.EagerReturnFederator
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,Comparable<com.yahoo.component.Component>
- Enclosing class:
- ProcessorLibrary
A federator which supports returning frozen data from each chain before the response is returned.
-
Field Summary
Fields inherited from class com.yahoo.component.AbstractComponent
isDeconstructable
-
Constructor Summary
ConstructorDescriptionEagerReturnFederator
(boolean ordered, Chain<? extends Processor>... chains) Federates over the given chainsEagerReturnFederator
(Chain<? extends Processor>... chains) Federates over the given chains. -
Method Summary
Methods inherited from class com.yahoo.component.chain.ChainedComponent
getAnnotatedDependencies, getDefaultAnnotatedDependencies, getDependencies, initDependencies
Methods inherited from class com.yahoo.component.AbstractComponent
clone, compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString
-
Constructor Details
-
EagerReturnFederator
Federates over the given chains. Returns an ordered response. -
EagerReturnFederator
Federates over the given chains- Parameters:
ordered
- true if the returned list should be ordered (default), false if it should be permissible to render the datalist from each federated source in the order it completes.
-
-
Method Details