Package jline.lang.sections
Class StatefulClassSwitcher
-
- All Implemented Interfaces:
-
java.io.Serializable,jline.lang.Copyable
public class StatefulClassSwitcher extends ClassSwitcher implements Serializable
A class switcher that depends on its 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 StatefulClassSwitcher(List<JobClass> jobClasses, String name)StatefulClassSwitcher(List<JobClass> jobClasses)
-
Method Summary
Modifier and Type Method Description -
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
-
-