Class LinearServerQFactory<OBJ extends LinearServerQueue<QS>,QS extends QueueServer>

All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
AbstrFifoSrvrQFactory, AbstrLifoSrvrQFactory

public abstract class LinearServerQFactory<OBJ extends LinearServerQueue<QS>,QS extends QueueServer> extends ServerQueueFactory<OBJ,DelayTaskQueue.Parameter,QS>
Abstract Factory for server queues that maintain a linear ordering.

AbstrPrioritySQFactory inherits the factory parameters "queueServer" and "deletePolicy" from its superclass ServerQueueFactory and the parameters "timeline", "timeline.time", "timeline.traceSetMode", "timeline.traceSets", and "traceSets" from SimObjectFactory.

Subclasses that are not abstract classes must implement the method getQueueServerClass. Unless the parameter "queueServer" is hidden and thus not used, subclasses will typically use the method ServerQueueFactory.getQueueServers() to obtain an array of the queue servers that were configured. This array is needed by the constructors of some subclasses.

See Also:
  • Constructor Details

    • LinearServerQFactory

      protected LinearServerQFactory(Simulation sim)
      Constructor.
      Parameters:
      sim - the simulation used to name objects.