Package com.yahoo.processing.test
Class ProcessorLibrary.Federator
- java.lang.Object
-
- com.yahoo.component.AbstractComponent
-
- com.yahoo.component.chain.ChainedComponent
-
- com.yahoo.processing.Processor
-
- com.yahoo.processing.test.ProcessorLibrary.Federator
-
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,Comparable<com.yahoo.component.Component>
- Enclosing class:
- ProcessorLibrary
public static class ProcessorLibrary.Federator extends Processor
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
process(Request request, Execution execution)
Performs a processing request and returns the response-
Methods inherited from class com.yahoo.component.chain.ChainedComponent
getAnnotatedDependencies, getDefaultAnnotatedDependencies, getDependencies, initDependencies
-
-
-
-
Constructor Detail
-
Federator
@SafeVarargs public Federator(Chain<? extends Processor>... chains)
Federates over the given chains. Returns an ordered response.
-
Federator
@SafeVarargs public Federator(boolean ordered, Chain<? extends Processor>... chains)
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.
-
-