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>
serviceProcesses
protected SchedStrategy
schedStrategy
protected SchedStrategyType
schedPolicy
protected HashMap<JobClass, Double>
schedStrategyPar
public Matrix
state
public Matrix
statePrior
public final NodeAttribute
attribute
public Network
model
protected InputSection
input
protected OutputSection
output
protected ServiceSection
server
protected DropStrategy
dropStrategy
protected int
statefulIdx
protected int
nodeIndex
protected int
stationIdx
protected String
name
-
Constructor Summary
Constructors Constructor Description ServiceNode(String name)
-
Method Summary
Modifier and Type Method Description SchedStrategy
getSchedStrategy()
Distribution
getServiceProcess(JobClass jobClass)
void
setService(JobClass jobClass, Distribution distribution)
void
setService(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)
-
-