Package jline.lang.sections
Class OutputSection
java.lang.Object
jline.lang.Element
jline.lang.NetworkElement
jline.lang.sections.Section
jline.lang.sections.OutputSection
- All Implemented Interfaces:
Serializable,Cloneable,Copyable
- Direct Known Subclasses:
Dispatcher,Firing,Forker,Linkage
Output section of a node
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a copy of this section, twin of the MATLABcopyElementof a Copyable section.final List<OutputStrategy>getOutputStrategyByClass(JobClass jobClass) voidprotected voidvoidresetDisabledOutputStrategy(JobClass jobClass) LikesetOutputStrategy(JobClass, RoutingStrategy)but only resets the class if it currently has theRoutingStrategy.DISABLEDdefault.voidvoidsetOutputStrategy(JobClass jobClass, RoutingStrategy routingStrategy) voidsetOutputStrategy(JobClass jobClass, RoutingStrategy routingStrategy, Node destination, double probability) voidsetSQParams(JobClass jobClass, int d) Stores SQ routing parameters (k and memory flag) for the given class.Methods inherited from class jline.lang.sections.Section
getClassName
-
Field Details
-
schedPolicy
-
outputStrategies
-
-
Constructor Details
-
OutputSection
-
-
Method Details
-
getOutputStrategies
-
copyElement
Description copied from class:SectionReturns a copy of this section, twin of the MATLABcopyElementof a Copyable section. The copy is shallow in the same sense as MATLAB's: the section object and its containers are new, while the model elements they refer to (job classes, destination nodes, distributions) stay shared. Subclasses holding containers override this to copy them.- Overrides:
copyElementin classSection- Returns:
- a copy of this section
-
getOutputStrategyByClass
-
printSummary
public void printSummary() -
probabilityUpdate
protected void probabilityUpdate() -
resetRouting
public void resetRouting() -
setOutputStrategy
-
resetDisabledOutputStrategy
LikesetOutputStrategy(JobClass, RoutingStrategy)but only resets the class if it currently has theRoutingStrategy.DISABLEDdefault. Classes that have had meaningful routing configured upstream (e.g. byCache.setRetrievalSystemwhich runs beforeNetwork.link) are preserved. Used byDispatcher.initDispatcherJobClasses(java.util.List<jline.lang.JobClass>)duringlink()re-initialization so the clearing step does not destroy pre-link routing for auto-created retrieval-system classes. -
setSQParams
Stores SQ routing parameters (k and memory flag) for the given class. -
setOutputStrategy
public void setOutputStrategy(JobClass jobClass, RoutingStrategy routingStrategy, Node destination, double probability)
-