Package jline.lang.nodes
Class ServiceNode
-
- All Implemented Interfaces:
-
java.io.Serializable,jline.lang.Copyable
public abstract class ServiceNode extends StatefulNode implements Serializable
A station with a service process
-
-
Field Summary
Fields Modifier and Type Field Description protected 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 ServiceNode(String name)
-
Method Summary
Modifier and Type Method Description SchedStrategygetSchedStrategy()DistributiongetServiceProcess(JobClass jobClass)voidsetService(JobClass jobClass, Distribution distribution)voidsetService(JobClass jobClass, Distribution distribution, double weight)-
Methods inherited from class jline.lang.nodes.StatefulNode
clearState, getNumberOfServers, getState, getStatePrior, getStateSpace, getStatefulIndex, resetStateSpace, setState, setState, setStatePrior, setStateSpace -
Methods inherited from class jline.lang.nodes.Node
getAttribute, getCap, getClassCap, getDropStrategy, getInput, getModel, getNodeIndex, getOutput, getOutputStrategies, getRoutingStrategy, getSections, getServer, getStatefulIdx, getStationIdx, isReferenceStation, isStateful, printSummary, reset, resetRouting, setModel, setNodeIdx, setProbRouting, setRouting, setRouting, setStationIdx -
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
-
ServiceNode
ServiceNode(String name)
-
-
Method Detail
-
getSchedStrategy
SchedStrategy getSchedStrategy()
-
getServiceProcess
Distribution getServiceProcess(JobClass jobClass)
-
setService
void setService(JobClass jobClass, Distribution distribution)
-
setService
void setService(JobClass jobClass, Distribution distribution, double weight)
-
-
-
-