Package jline.lang.sections
Class StatelessClassSwitcher
-
- All Implemented Interfaces:
-
java.io.Serializable,jline.lang.Copyable
public class StatelessClassSwitcher extends ClassSwitcher implements Serializable
A class switcher that does not have a local state
-
-
Field Summary
Fields Modifier and Type Field Description protected SerializableFunction<ClassSwitcher.CSFunInput, Double>csFunprotected List<JobClass>jobClassesprotected doublenumberOfServersprotected Map<JobClass, ServiceBinding>serviceProcessespublic StringclassNameprotected Stringname
-
Constructor Summary
Constructors Constructor Description StatelessClassSwitcher(List<JobClass> jobClasses, Matrix csMatrix)
-
Method Summary
Modifier and Type Method Description List<JobClass>getJobClasses()voidupdateClassSwitch(Matrix csMatrix)voidupdateClasses(List<JobClass> jobClasses)-
Methods inherited from class jline.lang.sections.Section
getClassName -
Methods inherited from class jline.lang.sections.ClassSwitcher
applyCsFun -
Methods inherited from class jline.lang.sections.ServiceSection
containsJobClass, getServiceDistribution, getServiceProcess, removeServiceProcess, setServiceProcesses -
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
-
-
Method Detail
-
getJobClasses
List<JobClass> getJobClasses()
-
updateClassSwitch
void updateClassSwitch(Matrix csMatrix)
-
updateClasses
void updateClasses(List<JobClass> jobClasses)
-
-
-
-