Package jline.lang.sections
Class ClassSwitcher
-
- All Implemented Interfaces:
-
java.io.Serializable,jline.lang.Copyable
public class ClassSwitcher extends ServiceSection implements Serializable
A job class switcher based on a static probability table
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classClassSwitcher.CSFunInput
-
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 ClassSwitcher(List<JobClass> jobClasses, String name)
-
Method Summary
Modifier and Type Method Description doubleapplyCsFun(int r, int s)-
Methods inherited from class jline.lang.sections.Section
getClassName -
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
-
applyCsFun
double applyCsFun(int r, int s)
-
-
-
-