Uses of Class
QueueNet.JobClass
Packages that use JobClass
Package
Description
Strategy interfaces and base classes used by the JSIM simulation engine to implement the behaviour of the network elements.
Strategies used by fork stations to split a job into the output tasks that are then routed to the downstream stations.
Processor sharing service strategies, in which every job present at the station is served simultaneously and the station capacity is shared among the jobs.
Queue visit strategies that select which job leaves the queue to enter service, implementing scheduling disciplines such as FCFS, LCFS, SJF, LJF and SEPT.
Routing strategies used by router nodes to select the destination station of each departing job.
Service time strategies determining the service time of jobs at a station, including load independent and load dependent service distributions.
Node sections, the building blocks from which the JSIM simulation engine stations are composed.
Queueing network model of the JSIM simulation engine: nodes, stations, jobs, job classes, measures and the global structures that connect them.
Core of the JSIM discrete event simulation engine: the simulation system, entities, events, predicates and event queues on which all JMT simulation tools rely.
-
Uses of JobClass in NetStrategies
Methods in NetStrategies with parameters of type JobClassModifier and TypeMethodDescriptionabstract doubleServiceStrategy.expect(NodeSection nodeSection, JobClass jobClass) This method should be overridden to implement a specific strategy.abstract JobQueueGetStrategy.get(JobInfoList queue, JobClass jobClass) This method should be overridden to implement a specific job strategy.abstract NetNodeRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This method should be overridden to implement a specific strategy.RoutingStrategy.getOutNode(NodeSection section, JobClass jobClass) abstract NodeListWithJobNumForkStrategy.getOutNodes(NetNode ownerNode, JobClass jobClass) ForkStrategy.getOutNodes(NodeSection section, JobClass jobClass) abstract doublePSStrategy.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass) This method should be overridden to implement a specific PS strategy.abstract doublePSStrategy.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass, Boolean[] compatibilities, double[] splits) This method should be overridden to implement a specific PS strategy.abstract doubleServiceStrategy.wait(NodeSection nodeSection, JobClass jobClass) This method should be overridden to implement a specific strategy. -
Uses of JobClass in NetStrategies.ForkStrategies
Methods in NetStrategies.ForkStrategies with parameters of type JobClassModifier and TypeMethodDescriptionClassSwitchFork.getOutNodes(NetNode ownerNode, JobClass jobClass) CombFork.getOutNodes(NetNode ownerNode, JobClass jobClass) ProbabilitiesFork.getOutNodes(NetNode ownerNode, JobClass jobClass) -
Uses of JobClass in NetStrategies.PSStrategies
Methods in NetStrategies.PSStrategies with parameters of type JobClassModifier and TypeMethodDescriptiondoubleDPSStrategy.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass) doubleDPSStrategy.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass, Boolean[] compatibilities, double[] splits) doubleDPSStrategyPriority.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass) doubleDPSStrategyPriority.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass, Boolean[] compatibilities, double[] splits) doubleEPSStrategy.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass) doubleEPSStrategy.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass, Boolean[] compatibilities, double[] splits) doubleEPSStrategyPriority.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass) doubleEPSStrategyPriority.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass, Boolean[] compatibilities, double[] splits) doubleGPSStrategy.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass) doubleGPSStrategy.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass, Boolean[] compatibilities, double[] splits) doubleGPSStrategyPriority.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass) doubleGPSStrategyPriority.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass, Boolean[] compatibilities, double[] splits) doubleQBPSStrategy.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass) doubleQBPSStrategy.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass, Boolean[] compatibilities, double[] splits) doubleQBPSStrategyPriority.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass) doubleQBPSStrategyPriority.slice(JobInfoList list, JobClassList classes, double[] weights, boolean[] saturated, JobClass jobClass, Boolean[] compatibilities, double[] splits) -
Uses of JobClass in NetStrategies.QueueGetStrategies
Methods in NetStrategies.QueueGetStrategies with parameters of type JobClassModifier and TypeMethodDescriptionExhaustivePollingGetStrategy.get(JobInfoList queue, JobClass jobClass) FCFSstrategy.get(JobInfoList queue, JobClass jobClass) Implements the FCFS strategy.GatedPollingGetStrategy.get(JobInfoList queue, JobClass jobClass) LCFSstrategy.get(JobInfoList queue, JobClass jobClass) Implements the LCFS strategy.LimitedPollingGetStrategy.get(JobInfoList queue, JobClass jobClass) -
Uses of JobClass in NetStrategies.RoutingStrategies
Methods in NetStrategies.RoutingStrategies with parameters of type JobClassModifier and TypeMethodDescriptionprotected doublePowerOfKRoutingStrategy.calculateProperty(NetNode node, JobClass jobClass) protected abstract doublePropertyBasedStrategy.calculateProperty(NetNode node, JobClass jobClass) ClassSwitchRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Deprecated.DisabledRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This method should be overridden to implement a specific strategy.EmpiricalStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Gets the output node, into which the job must be routed, using an empirical strategy.FastestServiceRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the fastest service for this jobClass among the output nodes.LeastUtilizationRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the least utilization among the output nodes.LoadDependentRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Deprecated.LoadDependentRoutingStrategy.getOutNode(NodeSection section, JobClass jobClass) PowerOfKRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the shortest queue among k output nodes selected at random.PropertyBasedStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) RandomStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Gets the output node, into which the job must be routed, using a random strategy.RoundRobinStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Gets the output node, into which the job must be routed, using a round robin strategy.ShortestQueueLengthRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the shortest queue length among the output nodes.ShortestResponseTimeRoutingStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the shortest response time for this jobClass among the output nodes.WeightedRoundRobinStrategy.getOutNode(NetNode ownerNode, JobClass jobClass) Gets the output node, into which the job must be routed, using a weighted round robin strategy. -
Uses of JobClass in NetStrategies.ServiceStrategies
Methods in NetStrategies.ServiceStrategies with parameters of type JobClassModifier and TypeMethodDescriptiondoubleDisabledServiceTimeStrategy.expect(NodeSection nodeSection, JobClass jobClass) Returns the service mean, which is always 0.0.doubleLoadDependentStrategy.expect(NodeSection nodeSection, JobClass jobClass) Calculates the service mean using the specified parametersdoubleServiceTimeStrategy.expect(NodeSection nodeSection, JobClass jobClass) Calculates the service mean using the specified distribution.doubleZeroServiceTimeStrategy.expect(NodeSection nodeSection, JobClass jobClass) Returns the service mean, which is always equal to 0.0.doubleDisabledServiceTimeStrategy.wait(NodeSection nodeSection, JobClass jobClass) Returns the service time, which is always 0.0.doubleLoadDependentStrategy.wait(NodeSection nodeSection, JobClass jobClass) Calculates the service time using the specified parametersdoubleServiceTimeStrategy.wait(NodeSection nodeSection, JobClass jobClass) Calculates the service time using the specified distribution.doubleZeroServiceTimeStrategy.wait(NodeSection nodeSection, JobClass jobClass) Returns the service time, which is always equal to 0.0. -
Uses of JobClass in NodeSections
Methods in NodeSections that return JobClassModifier and TypeMethodDescriptionCache.getHitClass(JobClass jobClass) Cache.getMissClass(JobClass jobClass) Methods in NodeSections with parameters of type JobClassModifier and TypeMethodDescriptionvoidCache.addJobClassMapping(JobClass jobClass, JobClass hitClass, JobClass missClass) voidvoidvoidJoin.analyzeJoin(int name, JobClass jobClass, Measure measurement) doublePollingServer.getDoubleSectionProperty(int id, JobClass jobClass) doublePSServer.getDoubleSectionProperty(int id, JobClass jobClass) doublePSServerPriority.getDoubleSectionProperty(int id, JobClass jobClass) doubleServer.getDoubleSectionProperty(int id, JobClass jobClass) Cache.getHitClass(JobClass jobClass) Cache.getMissClass(JobClass jobClass) voidJobSink.showForkJobExitWarning(JobClass jobClass) Shows the fork job exit warning.Constructors in NodeSections with parameters of type JobClassModifierConstructorDescriptionCache(Integer maxItems, Integer[] cacheCapacity, Object[] matrix, JobClass[] jobClasses, JobClass[] hitClasses, JobClass[] missClasses, CacheStrategy replacePolicy, DiscreteDistribution[] pop) -
Uses of JobClass in QueueNet
Modifier and TypeMethodDescriptionJobClassList.get(int index) Gets i-th job class in the list.Gets the job class with a specific name in the list.JobClass.getCachePairClass()JobClassList.getFirst()Gets the first job class in the list.Job.getJobClass()Gets the class of this job.QueueNetwork.getJobClass(String name) Gets the JobClass with the specified name.JobClassList.getLast()Gets the last job class in the list.Job.getNextJobClass()Gets the next class of this job.JobClass[]JobClassList.toArray()Converts the list into an array of job classes.Modifier and TypeMethodDescriptionGlobalJobInfoList.getChainSet()Gets chain set.NodeListWithJobNum.getJobNumPerClass(NetNode node) Job.getLastVisitedPair()Gets the last pair visited by this job.Map<org.apache.commons.math3.util.Pair<NetNode, JobClass>, Set<org.apache.commons.math3.util.Pair<NetNode, JobClass>>> GlobalJobInfoList.getPairChainMap()Gets pair chain map.Map<org.apache.commons.math3.util.Pair<NetNode, JobClass>, Set<org.apache.commons.math3.util.Pair<NetNode, JobClass>>> GlobalJobInfoList.getPairChainMap()Gets pair chain map.GlobalJobInfoList.getVisitCountPerChain()Gets visit count per chain.JobClassList.listIterator()Gets an iterator of the list.Modifier and TypeMethodDescriptionvoidQueueNetwork.addJobClass(JobClass jobClass) Adds a new job class to the network.voidvoidNetNode.analyze(int measureName, JobClass jobClass, Measure measurement, boolean isServerType, int serverTypeId) Analyzes a measure in the node.voidvoidNodeSection.analyze(int name, JobClass jobClass, Measure measurement, boolean isServerType, int serverTypeId) Analyzes a measure in the node section.voidJobInfoList.analyzeArrivalRate(JobClass jobClass, InverseMeasure measurement) Analyzes the arrival rate for the specified job class.voidLinkedJobInfoList.analyzeArrivalRate(JobClass jobClass, InverseMeasure measurement) voidGlobalJobInfoList.analyzeBalkingRate(JobClass jobClass, Measure Measure) Analyzes System Balking Rate for a specific job class or for every classvoidJobInfoList.analyzeBalkingRate(JobClass jobClass, InverseMeasure measurement, boolean isServerType, int serverTypeId) Analyzes the balking rate for the specified job class.voidLinkedJobInfoList.analyzeBalkingRate(JobClass jobClass, InverseMeasure measurement, boolean isServerType, int serverTypeId) voidJobInfoList.analyzeCacheHitRate(JobClass jobClass, Measure measurement) Methods to calculate cache performance measuresvoidLinkedJobInfoList.analyzeCacheHitRate(JobClass jobClass, Measure measurement) Method to calculate cache hit ratevoidGlobalJobInfoList.analyzeDropRate(JobClass jobClass, Measure Measure) Analyzes System Drop Rate for a specific job class or for every class.voidJobInfoList.analyzeDropRate(JobClass jobClass, InverseMeasure measurement, boolean isServerType, int serverTypeId) Analyzes the drop rate for the specified job class.voidLinkedJobInfoList.analyzeDropRate(JobClass jobClass, InverseMeasure measurement, boolean isServerType, int serverTypeId) voidGlobalJobInfoList.analyzeEarliness(JobClass jobClass, Measure measure) Analyzes System Earliness for a specific job class or for every class.voidJobInfoList.analyzeEarliness(JobClass jobClass, Measure measurement) Analyzes the earliness of the specified job class.voidLinkedJobInfoList.analyzeEarliness(JobClass jobClass, Measure measurement) voidJobInfoList.analyzeEffectiveUtilization(JobClass jobClass, Measure measurement) Analyzes the effective utilization for the specified job class.voidLinkedJobInfoList.analyzeEffectiveUtilization(JobClass jobClass, Measure measurement) voidvoidGlobalJobInfoList.analyzeJobNumber(JobClass jobClass, Measure Measure) Analyzes System Number of Jobs for a specific job class or for every class.voidNodeSection.analyzeJoin(int name, JobClass jobClass, Measure measurement) voidGlobalJobInfoList.analyzeLateness(JobClass jobClass, Measure measure) Analyzes System Lateness for a specific job class or for every class.voidJobInfoList.analyzeLateness(JobClass jobClass, Measure measurement) Analyzes the lateness of the specified job class.voidLinkedJobInfoList.analyzeLateness(JobClass jobClass, Measure measurement) voidJobInfoList.analyzeQueueLength(JobClass jobClass, Measure measurement, boolean isServerType, int serverTypeId) Analyzes the queue length for the specified job class.voidLinkedJobInfoList.analyzeQueueLength(JobClass jobClass, Measure measurement, boolean isServerType, int serverTypeId) --------------------------------------------------------------------- ------------------- "ANALYZE" AND "UPDATE" METHODS ------------------- ---------------------------------------------------------------------voidGlobalJobInfoList.analyzeRenegingRate(JobClass jobClass, Measure Measure) Analyzes System Reneging Rate for a specific job class or for every classvoidJobInfoList.analyzeRenegingRate(JobClass jobClass, InverseMeasure measurement, boolean isServerType, int serverTypeId) Analyzes the reneging rate for the specified job class.voidLinkedJobInfoList.analyzeRenegingRate(JobClass jobClass, InverseMeasure measurement, boolean isServerType, int serverTypeId) voidJobInfoList.analyzeResidenceTime(JobClass jobClass, Measure measurement, boolean isServerType, int serverTypeId) Analyzes the residence time for the specified job class.voidLinkedJobInfoList.analyzeResidenceTime(JobClass jobClass, Measure measurement, boolean isServerType, int serverTypeId) voidGlobalJobInfoList.analyzeResponseTime(JobClass jobClass, Measure measure) Analyzes System Response Time for a specific job class or for every class.voidJobInfoList.analyzeResponseTime(JobClass jobClass, Measure measurement, boolean isServerType, int serverTypeId) Analyzes the response time for the specified job class.voidLinkedJobInfoList.analyzeResponseTime(JobClass jobClass, Measure measurement, boolean isServerType, int serverTypeId) voidJobInfoList.analyzeResponseTimePerSink(JobClass jobClass, Measure measurement) Analyzes the response time of a sink for the specified job class.voidLinkedJobInfoList.analyzeResponseTimePerSink(JobClass jobClass, Measure measurement) voidGlobalJobInfoList.analyzeRetrialAttemptsRate(JobClass jobClass, Measure Measure) Analyzes System Retrial Attempts Rate for a specific job class or for every class.voidJobInfoList.analyzeRetrialAttemptsRate(JobClass jobClass, InverseMeasure measurement, boolean isServerType, int serverTypeId) Analyzes the retrial attempts rate for the specified job class.voidLinkedJobInfoList.analyzeRetrialAttemptsRate(JobClass jobClass, InverseMeasure measurement, boolean isServerType, int serverTypeId) voidJobInfoList.analyzeRetrialOrbitSize(JobClass jobClass, Measure measurement, boolean isServerType, int serverTypeId) Analyzes the retrial orbit size for the specified job class.voidLinkedJobInfoList.analyzeRetrialOrbitSize(JobClass jobClass, Measure measurement, boolean isServerType, int serverTypeId) voidJobInfoList.analyzeRetrialOrbitTime(JobClass jobClass, Measure measurement) Analyzes the retrial orbit time for the specified job class.voidLinkedJobInfoList.analyzeRetrialOrbitTime(JobClass jobClass, Measure measurement) voidGlobalJobInfoList.analyzeSystemPower(JobClass jobClass, Measure Measure) Analyzes System Power for a specific job class or for every class.voidGlobalJobInfoList.analyzeTardiness(JobClass jobClass, Measure measure) Analyzes System Tardiness for a specific job class or for every class.voidJobInfoList.analyzeTardiness(JobClass jobClass, Measure measurement) Analyzes the tardiness of the specified job class.voidLinkedJobInfoList.analyzeTardiness(JobClass jobClass, Measure measurement) voidGlobalJobInfoList.analyzeThroughput(JobClass jobClass, Measure Measure) Analyzes System Throughput for a specific job class or for every class.voidJobInfoList.analyzeThroughput(JobClass jobClass, InverseMeasure measurement, boolean isServerType, int serverTypeId) Analyzes the throughput for the specified job class.voidLinkedJobInfoList.analyzeThroughput(JobClass jobClass, InverseMeasure measurement, boolean isServerType, int serverTypeId) voidJobInfoList.analyzeThroughputPerSink(JobClass jobClass, InverseMeasure measurement) Analyzes the throughput of a sink for the specified job class.voidLinkedJobInfoList.analyzeThroughputPerSink(JobClass jobClass, InverseMeasure measurement) voidJobInfoList.analyzeUtilization(JobClass jobClass, Measure measurement, boolean isServerType, int serverTypeId) Analyzes the utilization for the specified job class.voidLinkedJobInfoList.analyzeUtilization(JobClass jobClass, Measure measurement, boolean isServerType, int serverTypeId) voidJobInfoList.analyzeUtilizationJoin(JobClass jobClass, Measure measurement) Analyzes the utilization of a join for the specified job class.voidLinkedJobInfoList.analyzeUtilizationJoin(JobClass jobClass, Measure measurement) voidvoidbooleanUsed to know if a job class is in the list.voidBlockingRegion.decreaseOccupation(JobClass jobClass) Decreases the number of jobs currently inside the region.doubleBlockingRegion.getActualOccupation(JobClass jobClass) Gets the number of jobs of the specified class currently inside the blocking regionbooleanBlockingRegion.getClassDrop(JobClass jobClass) Gets the drop property relative to a class constraint: if true, jobs in excess of this class will be droppeddoubleNetNode.getDoubleNodeProperty(int Id, JobClass JobClass) Gets a double type property of this node related to a specified job class.doubleNodeSection.getDoubleSectionProperty(int id, JobClass jobClass) Gets a double type property of this node depending on a specified job class.JobInfoList.getInternalJobInfoList(JobClass jobClass) Gets the internal job info list of the specified job class.LinkedJobInfoList.getInternalJobInfoList(JobClass jobClass) intNetNode.getIntNodeProperty(int Id, JobClass JobClass) Gets an integer type property of this node related to a specified job class.intNodeSection.getIntSectionProperty(int id, JobClass jobClass) Gets an integer type property of this node depending on a specified job class.intJobInfoList.getJobsCacheCountPerClass(JobClass jclass) intLinkedJobInfoList.getJobsCacheCountPerClass(JobClass jclass) intJobInfoList.getJobsInPerClass(JobClass jobClass) Gets the number of added jobs of the specified job class.intLinkedJobInfoList.getJobsInPerClass(JobClass jobClass) intJobInfoList.getJobsInServicePerClass(JobClass jobClass) Gets the number of jobs in service of the specified job class.intLinkedJobInfoList.getJobsInServicePerClass(JobClass jobClass) intJobInfoList.getJobsOutPerClass(JobClass jobClass) Gets the number of removed jobs of the specified job class.intLinkedJobInfoList.getJobsOutPerClass(JobClass jobClass) doubleJobInfoList.getLastJobBalkingTimePerClass(JobClass jobClass) Gets the time of the last balked job of the specified job class.doubleLinkedJobInfoList.getLastJobBalkingTimePerClass(JobClass jobClass) doubleJobInfoList.getLastJobDropTimePerClass(JobClass jobClass) Gets the time of the last dropped job of the specified job class.doubleLinkedJobInfoList.getLastJobDropTimePerClass(JobClass jobClass) doubleJobInfoList.getLastJobEndTimePerClass(JobClass jobClass) Gets the time of the last ended job of the specified job class.doubleLinkedJobInfoList.getLastJobEndTimePerClass(JobClass jobClass) doubleJobInfoList.getLastJobInTimePerClass(JobClass jobClass) Gets the time of the last added job of the specified job class.doubleLinkedJobInfoList.getLastJobInTimePerClass(JobClass jobClass) doubleJobInfoList.getLastJobOutTimePerClass(JobClass jobClass) Gets the time of the last removed job of the specified job class.doubleLinkedJobInfoList.getLastJobOutTimePerClass(JobClass jobClass) doubleJobInfoList.getLastJobRenegingTimePerClass(JobClass jobClass) Gets the time of the last reneged job of the specified job class.doubleLinkedJobInfoList.getLastJobRenegingTimePerClass(JobClass jobClass) doubleJobInfoList.getLastJobRetrialTimePerClass(JobClass jobClass) Gets the time of the last retried job of the specified job class.doubleLinkedJobInfoList.getLastJobRetrialTimePerClass(JobClass jobClass) doubleJobInfoList.getLastJobSojournTimePerClass(JobClass jobClass) Gets the sojourn time of the last removed job of the specified job class.doubleLinkedJobInfoList.getLastJobSojournTimePerClass(JobClass jobClass) doubleJobInfoList.getLastJobStartTimePerClass(JobClass jobClass) Gets the time of the last started job of the specified job class.doubleLinkedJobInfoList.getLastJobStartTimePerClass(JobClass jobClass) doubleJobInfoList.getLastJobSwitchTimePerClass(JobClass jobClass) Gets the time of the last switched job of the specified job class.doubleLinkedJobInfoList.getLastJobSwitchTimePerClass(JobClass jobClass) doubleJobInfoList.getLastModifyTimePerClass(JobClass jobClass) Gets the time of the last modify of the specified job class.doubleLinkedJobInfoList.getLastModifyTimePerClass(JobClass jobClass) doubleJobInfoList.getLastRetrialOrbitModifyTimePerClass(JobClass jobClass) Gets the time of the last retrial orbit modify of the specified job class.doubleLinkedJobInfoList.getLastRetrialOrbitModifyTimePerClass(JobClass jobClass) doubleJobInfoList.getLastServiceModifyTimePerClass(JobClass jobClass) Gets the time of the last service modify of the specified job class.doubleLinkedJobInfoList.getLastServiceModifyTimePerClass(JobClass jobClass) Gets an object type property of this node depending on a specified job class.NetNode.getObjectNodeProperty(int Id, JobClass JobClass) Gets a generic object type property of this node related to a specified job class.NodeSection.getParameter(int id, JobClass jobClass) Gets a parameter type property of this node depending on a specified job class.doubleJobInfoList.getTotalSojournTimePerClass(JobClass jobClass) Gets the total sojourn time of the specified job class.doubleLinkedJobInfoList.getTotalSojournTimePerClass(JobClass jobClass) voidBlockingRegion.increaseOccupation(JobClass jobClass) Increases both the number of total jobs currently inside the region and also the number of jobs of the specified class currently inside the region.intGets the index of a job class.booleanTells whether the region is blocked for this class or has enough place for a job of this class.booleanChecks if a property of this node is enabled depending on a specified job class.voidGlobalJobInfoList.performJobClassSwitch(JobClass oldClass, JobClass newClass) It changes the class of a job from @oldClass to @newClass.voidPSJobInfoList.psUpdateQueueTime(JobClass jobClass, double queueTime) voidPSJobInfoList.psUpdateSojournTime(JobClass jobClass, double serviceTime) voidPSJobInfoList.psUpdateUtilization(JobClass jobClass, double[] serviceFractions) JobInfoList.removeFirst(JobClass jobClass) Removes a job info of the specified job class at the start of the list.LinkedJobInfoList.removeFirst(JobClass jobClass) JobInfoList.removeLast(JobClass jobClass) Removes a job info of the specified job class at the end of the list.LinkedJobInfoList.removeLast(JobClass jobClass) voidJobClass.setCachePairClass(JobClass jobClass) voidJob.setJobClass(JobClass jobClass) Sets the class of this job.voidJob.setNextJobClass(JobClass jobClass) Sets the next class of this job.intGets the number of jobs of the specified job class.intprotected voidLinkedJobInfoList.updateCacheHitRate(JobClass jclass) Modifier and TypeMethodDescriptionvoidvoidJob.AddToVisitPath(org.apache.commons.math3.util.Pair<NetNode, JobClass> pair) Adds a pair to the visit path of this job.voidJob.setLastVisitedPair(org.apache.commons.math3.util.Pair<NetNode, JobClass> pair) Sets the last pair visited by this job.protected voidGlobalJobInfoList.updateChainGraph(org.apache.commons.math3.util.Pair<NetNode, JobClass> sourcePair, org.apache.commons.math3.util.Pair<NetNode, JobClass> targetPair) Updates chain graph.ModifierConstructorDescriptionForkJob(JobClass jobClass, ForkJobInfo forkJobInfo) Creates a new ForkJob, given job class and shared information.Job(JobClass jobClass, GlobalJobInfoList globalJobInfoList) Creates a new instance of Job. -
Uses of JobClass in simEngine
Modifier and TypeMethodDescriptionJobClass[]Simulation.getClasses()Returns the array of classesModifier and TypeMethodDescriptionvoidSimulation.addClasses(JobClass[] classes) Adds all Job Classes to the simulation.