Package com.yahoo.processing.execution
Class Execution.Environment<COMPONENT extends Processor>
java.lang.Object
com.yahoo.processing.execution.Execution.Environment<COMPONENT>
- Enclosing class:
- Execution
Holds the static execution environment for the duration of an execution
-
Constructor Summary
ConstructorDescriptionEnvironment
(ChainRegistry<COMPONENT> chainRegistry) Creates a new environment -
Method Summary
Modifier and TypeMethodDescriptionReturns the processing chain registry of this execution environment.static <C extends Processor>
Execution.Environment<C>Creates an empty environment.nested()
Returns an environment for an execution spawned from the execution having this environment.
-
Constructor Details
-
Environment
Creates a new environment
-
-
Method Details
-
createEmpty
Creates an empty environment. Only useful for some limited testing -
nested
Returns an environment for an execution spawned from the execution having this environment. -
chainRegistry
Returns the processing chain registry of this execution environment. The registry may be empty, but never null.
-