Package com.yahoo.processing.execution
Class Execution.Environment<COMPONENT extends Processor>
- java.lang.Object
-
- com.yahoo.processing.execution.Execution.Environment<COMPONENT>
-
-
Constructor Summary
Constructors Constructor Description Environment(ChainRegistry<COMPONENT> chainRegistry)
Creates a new environment
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ChainRegistry<COMPONENT>
chainRegistry()
Returns the processing chain registry of this execution environment.static <C extends Processor>
Execution.Environment<C>createEmpty()
Creates an empty environment.Execution.Environment<COMPONENT>
nested()
Returns an environment for an execution spawned from the execution having this environment.
-
-
-
Constructor Detail
-
Environment
public Environment(ChainRegistry<COMPONENT> chainRegistry)
Creates a new environment
-
-
Method Detail
-
createEmpty
public static <C extends Processor> Execution.Environment<C> createEmpty()
Creates an empty environment. Only useful for some limited testing
-
nested
public Execution.Environment<COMPONENT> nested()
Returns an environment for an execution spawned from the execution having this environment.
-
chainRegistry
public ChainRegistry<COMPONENT> chainRegistry()
Returns the processing chain registry of this execution environment. The registry may be empty, but never null.
-
-