J - The job type.Q - The queue type for jobs.@FunctionalInterface public interface SimJobFactory<J extends SimJob,Q extends SimQueue>
SimJobs.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)
Creates a new
SimJob with given name and requested-service time map. |
J newInstance(org.javades.jsimulation.r5.SimEventList eventList, String name, Map<Q,Double> requestedServiceTimeMap)
SimJob with given name and requested-service time map.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.Copyright © 2018. All rights reserved.