Package io.molr.mole.core.tree.executor
Class StrandExecutorFactory
- java.lang.Object
-
- io.molr.mole.core.tree.executor.StrandExecutorFactory
-
public class StrandExecutorFactory extends java.lang.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 java.util.Set<StrandExecutor>
activeStrandExecutors()
java.util.Set<StrandExecutor>
allStrandExecutors()
void
closeStrandsStream()
ConcurrentStrandExecutor
createChildStrandExecutor(io.molr.commons.domain.Strand strand, TreeStructure structure, java.util.Set<io.molr.commons.domain.Block> breakpoints, java.util.Set<io.molr.commons.domain.Block> blocksToBeIgnored, io.molr.commons.domain.ExecutionStrategy executionStrategy, io.molr.commons.domain.RunState initialState)
ConcurrentStrandExecutor
createRootStrandExecutor(TreeStructure structure, java.util.Set<io.molr.commons.domain.Block> breakpoints, java.util.Set<io.molr.commons.domain.Block> blocksToBeIgnored, io.molr.commons.domain.ExecutionStrategy executionStrategy)
StrandExecutor
getStrandExecutorFor(io.molr.commons.domain.Strand strand)
reactor.core.publisher.Flux<StrandExecutor>
newStrandsStream()
java.util.Optional<io.molr.commons.domain.Strand>
parentOf(io.molr.commons.domain.Strand strand)
io.molr.commons.domain.Strand
rootStrand()
-
-
-
Constructor Detail
-
StrandExecutorFactory
public StrandExecutorFactory(LeafExecutor leafExecutor, TreeNodeStates runStates)
-
-
Method Detail
-
rootStrand
public io.molr.commons.domain.Strand rootStrand()
-
createRootStrandExecutor
public ConcurrentStrandExecutor createRootStrandExecutor(TreeStructure structure, java.util.Set<io.molr.commons.domain.Block> breakpoints, java.util.Set<io.molr.commons.domain.Block> blocksToBeIgnored, io.molr.commons.domain.ExecutionStrategy executionStrategy)
-
createChildStrandExecutor
public ConcurrentStrandExecutor createChildStrandExecutor(io.molr.commons.domain.Strand strand, TreeStructure structure, java.util.Set<io.molr.commons.domain.Block> breakpoints, java.util.Set<io.molr.commons.domain.Block> blocksToBeIgnored, io.molr.commons.domain.ExecutionStrategy executionStrategy, io.molr.commons.domain.RunState initialState)
-
getStrandExecutorFor
public StrandExecutor getStrandExecutorFor(io.molr.commons.domain.Strand strand)
-
allStrandExecutors
public java.util.Set<StrandExecutor> allStrandExecutors()
-
activeStrandExecutors
public java.util.Set<StrandExecutor> activeStrandExecutors()
-
newStrandsStream
public reactor.core.publisher.Flux<StrandExecutor> newStrandsStream()
-
closeStrandsStream
public void closeStrandsStream()
-
parentOf
public java.util.Optional<io.molr.commons.domain.Strand> parentOf(io.molr.commons.domain.Strand strand)
-
-