J - The job type.Q - The queue type for jobs.P - The type used for QoS.public interface SimJobQoSFactory<J extends SimJobQoS,Q extends SimQueue,P extends Comparable> extends SimJobFactory<J,Q>
SimJobQoSs.Copyright (C) 2005-2017 Jan de Jongh, TNO
This file is covered by the LICENSE file in the root of this project.
DefaultSimJobFactory| Modifier and Type | Method and Description |
|---|---|
J |
newInstance(org.javades.jsimulation.r5.SimEventList eventList,
String name,
Map<Q,Double> requestedServiceTimeMap,
Class<? extends P> qosClass,
P qos)
Creates a new
SimJobQoS with given name, requested-service time map, and QoS maps. |
newInstanceJ newInstance(org.javades.jsimulation.r5.SimEventList eventList, String name, Map<Q,Double> requestedServiceTimeMap, Class<? extends P> qosClass, P qos)
SimJobQoS with given name, requested-service time map, and QoS maps.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.Copyright © 2018. All rights reserved.