Package jline.lang.sections
Class ServiceSection
java.lang.Object
jline.lang.Element
jline.lang.NetworkElement
jline.lang.sections.Section
jline.lang.sections.ServiceSection
- All Implemented Interfaces:
Serializable,Cloneable,Copyable
- Direct Known Subclasses:
ClassSwitcher,PollingServer,PreemptiveServer,Server,ServiceTunnel,SharedServer,Timing
A section offering a service
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsJobClass(JobClass jobClass) Returns a copy of this section, twin of the MATLABcopyElementof a Copyable section.getServiceDistribution(JobClass jobClass) getServiceProcess(JobClass jobClass) voidremoveServiceProcess(JobClass jobClass) voidsetServiceProcesses(ServiceBinding serviceProcess) Methods inherited from class jline.lang.sections.Section
getClassName
-
Field Details
-
numberOfServers
protected double numberOfServers -
serviceProcesses
-
-
Constructor Details
-
ServiceSection
-
-
Method Details
-
copyElement
Description copied from class:SectionReturns a copy of this section, twin of the MATLABcopyElementof a Copyable section. The copy is shallow in the same sense as MATLAB's: the section object and its containers are new, while the model elements they refer to (job classes, destination nodes, distributions) stay shared. Subclasses holding containers override this to copy them.- Overrides:
copyElementin classSection- Returns:
- a copy of this section
-
containsJobClass
-
getServiceDistribution
-
getServiceProcess
-
removeServiceProcess
-
setServiceProcesses
-