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