Q - The queue type for jobs.P - The type used for QoS.public class DefaultSelfListeningSimJobQoSFactory<Q extends SimQueue,P extends Comparable> extends Object implements SimJobQoSFactory<DefaultSelfListeningSimJobQoS,Q,P>
DefaultSelfListeningSimJobQoSs.Copyright (C) 2005-2017 Jan de Jongh, TNO
This file is covered by the LICENSE file in the root of this project.
DefaultSelfListeningSimJobQoS| Constructor and Description |
|---|
DefaultSelfListeningSimJobQoSFactory() |
| Modifier and Type | Method and Description |
|---|---|
DefaultSelfListeningSimJobQoS |
newInstance(org.javades.jsimulation.r5.SimEventList eventList,
String name,
Map<Q,Double> requestedServiceTimeMap)
Returns a new
DefaultSelfListeningSimJobQoS without QoS support with given parameters. |
DefaultSelfListeningSimJobQoS |
newInstance(org.javades.jsimulation.r5.SimEventList eventList,
String name,
Map<Q,Double> requestedServiceTimeMap,
Class<? extends P> qosClass,
P qos)
Returns a new
DefaultSelfListeningSimJobQoS with explicit QoS support with given parameters. |
public DefaultSelfListeningSimJobQoSFactory()
public DefaultSelfListeningSimJobQoS newInstance(org.javades.jsimulation.r5.SimEventList eventList, String name, Map<Q,Double> requestedServiceTimeMap)
DefaultSelfListeningSimJobQoS without QoS support with given parameters.newInstance in interface SimJobFactory<DefaultSelfListeningSimJobQoS,Q extends SimQueue>eventList - The event list to use; may be (and in most case should be) null.name - The name of the new job; may be null.requestedServiceTimeMap - The requested service time for each key SimQueue,
a null key can be used for unlisted SimQueues.
If the map is null or no value could be found,
a factory default is used for the requested service time.DefaultSelfListeningSimJobQoS without QoS support with given parameters.DefaultSelfListeningSimJobQoS.DefaultSelfListeningSimJobQoS(org.javades.jsimulation.r5.SimEventList, java.lang.String, java.util.Map<Q, java.lang.Double>, java.lang.Class<P>, P)public DefaultSelfListeningSimJobQoS newInstance(org.javades.jsimulation.r5.SimEventList eventList, String name, Map<Q,Double> requestedServiceTimeMap, Class<? extends P> qosClass, P qos)
DefaultSelfListeningSimJobQoS with explicit QoS support with given parameters.newInstance in interface SimJobQoSFactory<DefaultSelfListeningSimJobQoS,Q extends SimQueue,P extends Comparable>eventList - The event list to use; may be (and in most case should be) null.name - The name of the new job; may be null.requestedServiceTimeMap - The requested service time for each key SimQueue,
a null key can be used for unlisted SimQueues.
If the map is null or no value could be found,
a factory default is used for the requested service time.qosClass - The QoS class, may be null.qos - The QoS value, may be null.
The QoS value must be null or an instance of the QoS class.
The QoS value must be null if the QoS class is null.DefaultSelfListeningSimJobQoS with explicit QoS support with given parameters.DefaultSelfListeningSimJobQoS.DefaultSelfListeningSimJobQoS(org.javades.jsimulation.r5.SimEventList, java.lang.String, java.util.Map<Q, java.lang.Double>, java.lang.Class<P>, P)Copyright © 2018. All rights reserved.