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