Package io.molr.mole.core.tree.executor
Class StrandExecutorFactory
- java.lang.Object
-
- io.molr.mole.core.tree.executor.StrandExecutorFactory
-
public class StrandExecutorFactory extends Object
FIXME to be merged most probably with StrandFactory...
-
-
Constructor Summary
Constructors Constructor Description StrandExecutorFactory(LeafExecutor leafExecutor, TreeNodeStates runStates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<StrandExecutor>
activeStrandExecutors()
Set<StrandExecutor>
allStrandExecutors()
void
closeStrandsStream()
ConcurrentStrandExecutor
createChildStrandExecutor(Strand strand, TreeStructure structure, Set<Block> breakpoints, Set<Block> blocksToBeIgnored, ExecutionStrategy executionStrategy, RunState initialState)
ConcurrentStrandExecutor
createRootStrandExecutor(TreeStructure structure, Set<Block> breakpoints, Set<Block> blocksToBeIgnored, ExecutionStrategy executionStrategy)
StrandExecutor
getStrandExecutorFor(Strand strand)
reactor.core.publisher.Flux<StrandExecutor>
newStrandsStream()
Optional<Strand>
parentOf(Strand strand)
Strand
rootStrand()
-
-
-
Constructor Detail
-
StrandExecutorFactory
public StrandExecutorFactory(LeafExecutor leafExecutor, TreeNodeStates runStates)
-
-
Method Detail
-
rootStrand
public Strand rootStrand()
-
createRootStrandExecutor
public ConcurrentStrandExecutor createRootStrandExecutor(TreeStructure structure, Set<Block> breakpoints, Set<Block> blocksToBeIgnored, ExecutionStrategy executionStrategy)
-
createChildStrandExecutor
public ConcurrentStrandExecutor createChildStrandExecutor(Strand strand, TreeStructure structure, Set<Block> breakpoints, Set<Block> blocksToBeIgnored, ExecutionStrategy executionStrategy, RunState initialState)
-
getStrandExecutorFor
public StrandExecutor getStrandExecutorFor(Strand strand)
-
allStrandExecutors
public Set<StrandExecutor> allStrandExecutors()
-
activeStrandExecutors
public Set<StrandExecutor> activeStrandExecutors()
-
newStrandsStream
public reactor.core.publisher.Flux<StrandExecutor> newStrandsStream()
-
closeStrandsStream
public void closeStrandsStream()
-
-