Uses of Class
jmt.common.exception.NetException
Packages that use NetException
Package
Description
Exceptions shared by the JMT engine, such as the load exception raised when a closed workload exceeds the capacity of the network.
Strategy interfaces and base classes used by the JSIM simulation engine to implement the behaviour of the network elements.
Queue insertion strategies that select the position in the queue where an arriving job is placed, implementing queueing disciplines such as FCFS and priority-based placement.
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.
Vacation strategies modelling servers that suspend their service for a vacation period, as supported by the extended JSIM simulation engine.
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.
Random number generation for the JSIM simulation engine.
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 NetException in jmt.common.exception
Constructors in jmt.common.exception with parameters of type NetExceptionModifierConstructorDescriptionNetException(Object ThrownBy, int Type, String Message, NetException HangingException) Constructs a new exception with the specified detail message. -
Uses of NetException in NetStrategies
Methods in NetStrategies that throw NetExceptionModifier and TypeMethodDescriptionabstract doubleServiceStrategy.expect(NodeSection nodeSection, JobClass jobClass) This method should be overridden to implement a specific strategy.doubleVacationStrategy.nextVacationLength()abstract voidQueuePutStrategy.put(Job job, JobInfoList queue, NodeSection nodeSection) This method should be overridden to implement a specific job strategy.abstract doubleServiceStrategy.wait(NodeSection nodeSection, JobClass jobClass) This method should be overridden to implement a specific strategy. -
Uses of NetException in NetStrategies.QueuePutStrategies
Methods in NetStrategies.QueuePutStrategies that throw NetExceptionModifier and TypeMethodDescriptionvoidEDDStrategy.put(Job job, JobInfoList queue, NodeSection nodeSection) voidEDDStrategyPriority.put(Job job, JobInfoList queue, NodeSection nodeSection) voidHeadStrategy.put(Job job, JobInfoList queue, NodeSection nodeSection) voidHeadStrategyPriority.put(Job job, JobInfoList queue, NodeSection nodeSection) voidLEPTStrategy.put(Job job, JobInfoList queue, NodeSection nodeSection) voidLEPTStrategyPriority.put(Job job, JobInfoList queue, NodeSection nodeSection) voidLJFStrategy.put(Job job, JobInfoList queue, NodeSection nodeSection) voidLJFStrategyPriority.put(Job job, JobInfoList queue, NodeSection nodeSection) voidRandStrategy.put(Job job, JobInfoList queue, NodeSection callingSection) voidRandStrategyPriority.put(Job job, JobInfoList queue, NodeSection callingSection) voidSEPTStrategy.put(Job job, JobInfoList queue, NodeSection nodeSection) voidSEPTStrategyPriority.put(Job job, JobInfoList queue, NodeSection nodeSection) voidSJFStrategy.put(Job job, JobInfoList queue, NodeSection nodeSection) voidSJFStrategyPriority.put(Job job, JobInfoList queue, NodeSection nodeSection) voidSRPTStrategy.put(Job job, JobInfoList queue, NodeSection nodeSection) voidSRPTStrategyPriority.put(Job job, JobInfoList queue, NodeSection nodeSection) voidTailStrategy.put(Job job, JobInfoList queue, NodeSection nodeSection) voidTailStrategyPriority.put(Job job, JobInfoList queue, NodeSection nodeSection) voidTBSStrategyPriority.put(Job job, JobInfoList queue, NodeSection nodeSection) -
Uses of NetException in NetStrategies.RoutingStrategies
Methods in NetStrategies.RoutingStrategies that throw NetExceptionModifier and TypeMethodDescriptionprotected doublePowerOfKRoutingStrategy.calculateProperty(NetNode node, JobClass jobClass) protected abstract doublePropertyBasedStrategy.calculateProperty(NetNode node, JobClass jobClass) protected final intPropertyBasedStrategy.calculateQueueLength(NetNode node, boolean isClosedClass) -
Uses of NetException in NetStrategies.ServiceStrategies
Methods in NetStrategies.ServiceStrategies that throw NetExceptionModifier 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 NetException in NetStrategies.VacationStrategies
Methods in NetStrategies.VacationStrategies that throw NetExceptionModifier and TypeMethodDescriptiondoubleBernoulliVacationStrategy.nextVacationLength()doubleVacationWhenIdleStrategy.nextVacationLength()Constructors in NetStrategies.VacationStrategies that throw NetExceptionModifierConstructorDescriptionBernoulliVacationStrategy(Double p, Distribution vacationTimeDistr, Parameter vacationTimePar) -
Uses of NetException in NodeSections
Methods in NodeSections that throw NetExceptionModifier and TypeMethodDescriptionvoidBlockingQueue.analyzeFCR(int name, Measure measurement) voidvoidvoidJoin.analyzeJoin(int name, JobClass jobClass, Measure measurement) voidTiming.analyzeTransition(int name, String modeName, Measure measurement) doublePollingServer.getDoubleSectionProperty(int id) doublePollingServer.getDoubleSectionProperty(int id, JobClass jobClass) doublePSServer.getDoubleSectionProperty(int id) doublePSServer.getDoubleSectionProperty(int id, JobClass jobClass) doublePSServerPriority.getDoubleSectionProperty(int id) doublePSServerPriority.getDoubleSectionProperty(int id, JobClass jobClass) doubleServer.getDoubleSectionProperty(int id) doubleServer.getDoubleSectionProperty(int id, JobClass jobClass) protected voidBlockingQueue.nodeLinked(NetNode node) voidCache.nodeLinked(NetNode ownerNode) when the node section itself is linked to the owner node.protected voidClassSwitch.nodeLinked(NetNode node) protected voidEnabling.nodeLinked(NetNode node) protected voidFiring.nodeLinked(NetNode node) protected voidFork.nodeLinked(NetNode node) protected voidJobSink.nodeLinked(NetNode node) protected voidJoin.nodeLinked(NetNode node) protected voidLinkage.nodeLinked(NetNode node) protected voidPollingServer.nodeLinked(NetNode node) protected voidPSServer.nodeLinked(NetNode node) protected voidPSServerPriority.nodeLinked(NetNode node) protected voidQueue.nodeLinked(NetNode node) protected voidRandomSource.nodeLinked(NetNode node) protected voidRouter.nodeLinked(NetNode node) protected voidServer.nodeLinked(NetNode node) protected voidStorage.nodeLinked(NetNode node) protected voidTerminal.nodeLinked(NetNode node) protected voidTiming.nodeLinked(NetNode node) voidQueue.preloadJobs(int[] jobsPerClass) Preloads the specified numbers of jobs for each class.voidStorage.preloadJobs(int[] jobsPerClass) Preloads the specified numbers of jobs for each class.protected intBlockingQueue.process(NetMessage message) This method implements a blocking queue.protected intBlockingRouter.process(NetMessage message) protected intCache.process(NetMessage message) Processes the given message received by this node section.protected intClassSwitch.process(NetMessage message) protected intDelay.process(NetMessage message) protected intEnabling.process(NetMessage message) protected intFiring.process(NetMessage message) protected intFork.process(NetMessage message) Splits input job on every output link and waits if 'block' job number are not joined if and only if block is enabled.protected intJobSink.process(NetMessage message) This method implements a sink.protected intJoin.process(NetMessage message) Assembles split tasks and sends an EVENT_JOIN to reference fork when done.protected intLinkage.process(NetMessage message) protected intLogTunnel.process(NetMessage message) protected intPollingServer.process(NetMessage message) protected intPSServer.process(NetMessage message) protected intPSServerPriority.process(NetMessage message) protected intQueue.process(NetMessage message) This method implements a generic finite/infinite queue.protected intRandomSource.process(NetMessage message) protected intRouter.process(NetMessage message) protected intSemaphore.process(NetMessage message) Processs the .protected intServer.process(NetMessage message) protected intServiceTunnel.process(NetMessage message) protected intStorage.process(NetMessage message) protected intTerminal.process(NetMessage message) protected intTiming.process(NetMessage message) Constructors in NodeSections that throw NetExceptionModifierConstructorDescriptionPreemptiveServer(Integer numberOfServers, Integer[] numberOfVisitsPerClass, ServiceStrategy[] serviceStrategies, Map<String, Object> advancedFeatures) PreemptiveServer(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, QueuePutStrategy[] preemptiveStrategies) PreemptiveServer(Integer numberOfServers, Integer[] numberOfVisitsPerClass, ServiceStrategy[] serviceStrategies, QueuePutStrategy[] preemptiveStrategies, Integer[] serverNumRequired, String[] serverNames, Integer[] serversPerServerType, Object[] serverCompatibilities, String schedulingPolicy) PSServer(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies) PSServer(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, Boolean priorityUsed, PSStrategy[] psStrategies, Double[] serviceWeights) PSServer(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, PSStrategy[] psStrategies, Double[] serviceWeights) PSServer(Integer numberOfServers, Integer maxRunningJobs, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, Boolean priorityUsed, PSStrategy[] psStrategies, Double[] serviceWeights, Integer[] serverNumRequired, String[] serverNames, Integer[] serversPerServerType, Object[] serverCompatibilities, String schedulingPolicy) Creates a new instance of PSServer.PSServer(Integer numberOfServers, Integer maxRunningJobs, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, Boolean priorityUsed, PSStrategy[] psStrategies, Double[] serviceWeights, Map<String, Object> advancedFeatures) PSServerPriority(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies) PSServerPriority(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, PSStrategy[] psStrategies, Double[] serviceWeights) PSServerPriority(Integer numberOfServers, Integer maxRunningJobs, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, PSStrategy[] psStrategies, Double[] serviceWeights, Integer[] serverNumRequired, String[] serverNames, Integer[] serversPerServerType, Object[] serverCompatibilities, String schedulingPolicy) Creates a new instance of PSServer.PSServerPriority(Integer numberOfServers, Integer maxRunningJobs, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, PSStrategy[] psStrategies, Double[] serviceWeights, Map<String, Object> advancedFeatures) Server(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies) Server(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, Integer[] serverNumRequired, String[] serverTypesNames, Integer[] serverTypesNumOfServers, Object[] serverTypesCompatibilities, String schedulingPolicy) Server(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, Object[] switchoverStrategies, Integer[] serverNumRequired, String[] serverTypesNames, Integer[] serverTypesNumOfServers, Object[] serverTypesCompatibilities, String schedulingPolicy) Server(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, Object[] delayOffStrategies, Object[] setUpStrategies, Integer[] serverNumRequired, String[] serverTypesNames, Integer[] serverTypesNumOfServers, Object[] serverTypesCompatibilities, String schedulingPolicy) Server(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, Object[] switchoverStrategies, Object[] delayOffStrategies, Object[] setUpStrategies) Server(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, Object[] switchoverStrategies, Object[] delayOffStrategies, Object[] setUpStrategies, Integer[] serverNumRequired, String[] serverTypesNames, Integer[] serverTypesNumOfServers, Object[] serverTypesCompatibilities, String schedulingPolicy) Server(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, Map<String, Object> advancedFeatures) Server(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, QueuePutStrategy[] preemptiveStrategies) Server(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, QueuePutStrategy[] preemptiveStrategies, Integer[] serverNumRequired, String[] serverTypesNames, Integer[] serverTypesNumOfServers, Object[] serverTypesCompatibilities, String schedulingPolicy) Server(Integer numberOfServers, Integer[] numberOfVisits, ServiceStrategy[] serviceStrategies, QueuePutStrategy[] preemptiveStrategies, Object[] switchoverStrategies, Object[] delayOffStrategies, Object[] setUpStrategies, Integer[] serverNumRequired, String[] serverNames, Integer[] serversPerServerType, Object[] serverCompatibilities, String schedulingPolicy) -
Uses of NetException in QueueNet
Methods in QueueNet that throw NetExceptionModifier and TypeMethodDescriptionvoidNetNode.addSection(NodeSection section) Adds a section to the node.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.voidNodeSection.analyzeFCR(int name, Measure measurement) voidvoidNodeSection.analyzeJoin(int name, JobClass jobClass, Measure measurement) voidNodeSection.analyzeTransition(int name, String modeName, Measure measurement) doubleNetSystem.checkProgress(QueueNetwork network) Checks simulation progress, showing a percentage of completed works
Author: Bertoli Marcoprotected voidNetNode.dispatch(NetMessage message) This method should be overridden to implement an own dispatch.doubleNetNode.getDoubleNodeProperty(int Id) Gets a double type property of this node.doubleNetNode.getDoubleNodeProperty(int Id, JobClass JobClass) Gets a double type property of this node related to a specified job class.doubleNodeSection.getDoubleSectionProperty(int id) Gets a double type property of this node.doubleNodeSection.getDoubleSectionProperty(int id, JobClass jobClass) Gets a double type property of this node depending on a specified job class.intNetNode.getIntNodeProperty(int Id) Gets an integer type property related to this node.intNetNode.getIntNodeProperty(int Id, JobClass JobClass) Gets an integer type property of this node related to a specified job class.intNodeSection.getIntSectionProperty(int id) Gets an integer type property of this node.intNodeSection.getIntSectionProperty(int id, JobClass jobClass) Gets an integer type property of this node depending on a specified job class.NodeSection.getObject(int id) Gets an object type property of this node.Gets an object type property of this node depending on a specified job class.NetNode.getObjectNodeProperty(int Id) Gets a generic object type property of this node.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) Gets a parameter type property of this node.NodeSection.getParameter(int id, JobClass jobClass) Gets a parameter type property of this node depending on a specified job class.NetNode.getSection(int Id) Gets a section of the node.doubleNetSystem.getTempMeasures(QueueNetwork network) voidNetNode.initializeSections()This method is called after all the sections are added.booleanNodeSection.isEnabled(int id) Checks if a property of this node is enabled.booleanChecks if a property of this node is enabled depending on a specified job class.protected voidNodeSection.nodeLinked(NetNode node) This method should be overridden to implement a specific behaviour of the node section when the node section itself is linked to the owner node.protected abstract intNodeSection.process(NetMessage message) This method should be overridden to implement a specific NetMessage processor.protected RemoveTokenRedirects a job to a section of a node without updating measures.protected RemoveTokenNodeSection.sendAckAfterDrop(Job job, double delay, byte destinationSection, NetNode destination) Sends an "ack" event to a section of a node to inform it that the job previously sent has been dropped.voidNetSystem.start()Starts the NetSystem Engine and executes the simulation. -
Uses of NetException in random
Methods in random that throw NetExceptionModifier and TypeMethodDescriptionprotected voidBurst.dispatch(NetMessage message) Message dispatcher for Burst distribution. -
Uses of NetException in simEngine
Methods in simEngine that throw NetException