Class AbstrLifoSrvrQFactory<OBJ extends LifoServerQueue<QS>,QS extends QueueServer>

All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
LifoServerQueueFactory

public abstract class AbstrLifoSrvrQFactory<OBJ extends LifoServerQueue<QS>,QS extends QueueServer> extends LinearServerQFactory<OBJ,QS>
Abstract Factory for LIFO server queues, to support factories for subclasses of LIFO server queues.

AbstrLifoSrvrQFactory 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

    • AbstrLifoSrvrQFactory

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