Uses of Class
com.yahoo.processing.Processor
Package
Description
-
Uses of Processor in com.yahoo.processing.execution
Modifier and TypeClassDescriptionstatic class
Execution.Environment<COMPONENT extends Processor>
Holds the static execution environment for the duration of an executionModifier and TypeMethodDescriptionstatic <C extends Processor>
Execution.Environment<C>Execution.Environment.createEmpty()
Creates an empty environment.Modifier and TypeMethodDescriptionprotected Processor
Execution.next()
Returns the next searcher to be invoked in this chain, or null if we are at the lastModifier and TypeMethodDescriptionExecution.chain()
Returns the chain this executesExecution.Environment<? extends Processor>
Execution.environment()
Modifier and TypeMethodDescriptionstatic Execution
Execution.createRoot
(Processor processor, int traceLevel, Execution.Environment<? extends Processor> environment) Creates an execution of a single processor which is not in the context of an existing executionprotected void
Execution.onInvoking
(Request request, Processor next) A hook called when a processor is to be invoked.protected void
Execution.onReturning
(Request request, Processor processor, Response response) A hook called when a processor returns, either normally or by throwing.Modifier and TypeMethodDescriptionstatic Execution
Execution.createRoot
(Chain<? extends Processor> chain, int traceLevel, Execution.Environment<? extends Processor> environment) Creates an execution which is not in the context of an existing executionstatic Execution
Execution.createRoot
(Chain<? extends Processor> chain, int traceLevel, Execution.Environment<? extends Processor> environment) Creates an execution which is not in the context of an existing executionstatic Execution
Execution.createRoot
(Processor processor, int traceLevel, Execution.Environment<? extends Processor> environment) Creates an execution of a single processor which is not in the context of an existing executionModifierConstructorDescriptionAsyncExecution
(Processor processor, Execution parent) Create an async execution of a single processorCreates an execution of a single processorModifierConstructorDescriptionAsyncExecution
(Chain<? extends Processor> chain, Execution parent) Create an async execution of a chainprotected
Execution
(Chain<? extends Processor> chain, int startIndex, Execution.Trace trace, Execution.Environment<? extends Processor> environment) Creates a new execution by setting the internal state directly.protected
Execution
(Chain<? extends Processor> chain, int startIndex, Execution.Trace trace, Execution.Environment<? extends Processor> environment) Creates a new execution by setting the internal state directly.Creates an execution of a chainExecutionWithResponse
(Chain<? extends Processor> chain, Response response, Execution execution) Creates an execution which will return a given response at the end of the chain. -
Uses of Processor in com.yahoo.processing.handler
Modifier and TypeClassDescriptionclass
AbstractProcessingHandler<COMPONENT extends Processor>
Superclass of handlers invoking some kind of processing chain.ModifierConstructorDescriptionProcessingHandler
(ChainsConfig processingChainsConfig, com.yahoo.component.provider.ComponentRegistry<Processor> chainedComponents, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers, Executor executor, AccessLog accessLog) ProcessingHandler
(ChainsConfig processingChainsConfig, com.yahoo.component.provider.ComponentRegistry<Processor> chainedComponents, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers, Executor executor, AccessLog accessLog, com.yahoo.jdisc.Metric metric) ProcessingHandler
(ChainRegistry<Processor> chainRegistry, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers, Executor executor, AccessLog accessLog) ProcessingHandler
(ChainRegistry<Processor> chainRegistry, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers, Executor executor, AccessLog accessLog, com.yahoo.jdisc.Metric metric) ProcessingTestDriver
(Chain<Processor> chain, RequestLogHandler accessLogInterface) ProcessingTestDriver
(String binding, Collection<Chain<Processor>> chains) ProcessingTestDriver
(String binding, Collection<Chain<Processor>> chains, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers) ProcessingTestDriver
(Collection<Chain<Processor>> chains) ProcessingTestDriver
(Collection<Chain<Processor>> chains, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers) -
Uses of Processor in com.yahoo.processing.processors
Modifier and TypeClassDescriptionclass
A processor which adds the current content of the Request.properties() to the trace before calling the next processor, if traceLevel is 4 or more. -
Uses of Processor in com.yahoo.processing.test
Modifier and TypeClassDescriptionstatic class
Registers an async processing of the chain given in the constructor on completion of the data in the responsestatic class
Multiples the amount of data returned by parallelism by performing parallel executions of the rest of the chainstatic class
Makes some modifications to the request, passes it on and finally removes one data item from the responsestatic class
Adds a data element containing the (recursive) count of concrete (non-list) data elements in the responsestatic class
Produces 3 pieces of string datastatic class
A federator which supports returning frozen data from each chain before the response is returned.static class
A processor which on invocation prints the string given on constructionstatic class
A processor which adds an ErrorMessage to the request of the top level data of each returned response.static class
static class
static class
Sends the request multiple times to get at least 6 pieces of datastatic class
Allows waiting for that request to happen.static class
Adds (key, value) to the log value trace.static class
Allows waiting for that request to happen.static final class
static class
Registers a chain to be invoked each time new data becomes available in the first child liststatic class
A processor which adds a StringData item containing the string given in the constructor to every responsestatic class
A processor which adds a List of StringData items containing the strings given in the constructor to every responsestatic class
Adds a the given trace message at the given trace levelModifierConstructorDescriptionAsyncDataProcessingInitiator
(Chain<Processor> asyncChain) StreamProcessingInitiator
(Chain<Processor> streamChain)