Q - The queue type for jobs.P - The type used for QoS.public class DefaultSimJobQoSFactory<Q extends SimQueue,P extends Comparable> extends Object implements SimJobQoSFactory<DefaultSimJobQoS,Q,P>
DefaultSimJobQoSs.Copyright (C) 2005-2017 Jan de Jongh, TNO
This file is covered by the LICENSE file in the root of this project.
DefaultSimJobQoS| Constructor and Description |
|---|
DefaultSimJobQoSFactory() |
| Modifier and Type | Method and Description |
|---|---|
DefaultSimJobQoS |
newInstance(org.javades.jsimulation.r5.SimEventList eventList,
String name,
Map<Q,Double> requestedServiceTimeMap)
Returns a new
DefaultSimJobQoS without QoS support with given parameters. |
DefaultSimJobQoS |
newInstance(org.javades.jsimulation.r5.SimEventList eventList,
String name,
Map<Q,Double> requestedServiceTimeMap,
Class<? extends P> qosClass,
P qos)
Returns a new
DefaultSimJobQoS with explicit QoS support with given parameters. |
public DefaultSimJobQoS newInstance(org.javades.jsimulation.r5.SimEventList eventList, String name, Map<Q,Double> requestedServiceTimeMap)
DefaultSimJobQoS without QoS support with given parameters.newInstance in interface SimJobFactory<DefaultSimJobQoS,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.DefaultSimJobQoS without QoS support with given parameters.DefaultSimJobQoS.DefaultSimJobQoS(org.javades.jsimulation.r5.SimEventList, java.lang.String, double, java.lang.Class<P>, P)public DefaultSimJobQoS newInstance(org.javades.jsimulation.r5.SimEventList eventList, String name, Map<Q,Double> requestedServiceTimeMap, Class<? extends P> qosClass, P qos)
DefaultSimJobQoS with explicit QoS support with given parameters.newInstance in interface SimJobQoSFactory<DefaultSimJobQoS,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.DefaultSimJobQoS with explicit QoS support with given parameters.DefaultSimJobQoS.DefaultSimJobQoS(org.javades.jsimulation.r5.SimEventList, java.lang.String, double, java.lang.Class<P>, P)Copyright © 2018. All rights reserved.