Package jline.lang.nodes
Class ServiceStation
-
- All Implemented Interfaces:
-
java.io.Serializable,jline.lang.Copyable
public abstract class ServiceStation extends Station implements Serializable
A station with a service process
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ServiceBinding>serviceProcessesprotected intnumberOfServersprotected intcapprotected Map<JobClass, Integer>classCapprotected Map<JobClass, DropStrategy>dropRuleprotected MatrixlldScalingprotected SerializableFunction<Matrix, Double>lcdScalingprotected Map<JobClass, Map<JobClass, Distribution>>switchoverTimesprotected List<ServiceBinding>serviceProcessesprotected SchedStrategyschedStrategyprotected SchedStrategyTypeschedPolicyprotected HashMap<JobClass, Double>schedStrategyParpublic Matrixstatepublic MatrixstatePriorpublic final NodeAttributeattributepublic Networkmodelprotected InputSectioninputprotected OutputSectionoutputprotected ServiceSectionserverprotected DropStrategydropStrategyprotected intstatefulIdxprotected intnodeIndexprotected intstationIdxprotected Stringname
-
Constructor Summary
Constructors Constructor Description ServiceStation(String name)
-
Method Summary
Modifier and Type Method Description DistributiongetServiceProcess(JobClass jobClass)voidsetService(JobClass jobClass, Distribution distribution)voidsetService(JobClass jobClass, Distribution distribution, double weight)-
Methods inherited from class jline.lang.nodes.StatefulNode
clearState, getState, getStatePrior, getStateSpace, getStatefulIndex, resetStateSpace, setState, setState, setStatePrior, setStateSpace -
Methods inherited from class jline.lang.nodes.Node
getAttribute, getDropStrategy, getInput, getModel, getNodeIndex, getOutput, getOutputStrategies, getRoutingStrategy, getSections, getServer, getStatefulIdx, getStationIdx, isStateful, printSummary, reset, resetRouting, setModel, setNodeIdx, setProbRouting, setRouting, setRouting, setStationIdx -
Methods inherited from class jline.lang.nodes.Station
getCap, getClassCap, getDropRule, getLimitedClassDependence, getLimitedLoadDependence, getNumberOfServers, getSchedStrategy, getServiceRates, getSourceRates, getSwitchoverTime, hasSwitchoverTime, isReferenceStation, isServiceDefined, isServiceDefined, isServiceDisabled, isServiceDisabled, setCap, setChainCapacity, setClassCap, setDropRule, setLimitedClassDependence, setLimitedLoadDependence, setNumberOfServers, setSwitchoverTime -
Methods inherited from class jline.lang.Element
getName, setName -
Methods inherited from class jline.lang.Copyable
copy -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ServiceStation
ServiceStation(String name)
-
-
Method Detail
-
getServiceProcess
Distribution getServiceProcess(JobClass jobClass)
-
setService
void setService(JobClass jobClass, Distribution distribution)
-
setService
void setService(JobClass jobClass, Distribution distribution, double weight)
-
-
-
-