public class BoundedLIFOQDisc extends LIFOQDisc implements BoundedQDisc
QueuingDiscipline.QueueEntry| Modifier and Type | Field and Description |
|---|---|
protected int |
maxSizeInUnits |
lossProbability, numberOfMessages, numberOfUnits, parent, simNode, transferTime, waitingTimeCREATE_INSTANCE_METHOD_NAME| Constructor and Description |
|---|
BoundedLIFOQDisc(int size,
SimNode ownNode) |
BoundedLIFOQDisc(SimNode ownNode,
Parameters pars) |
| Modifier and Type | Method and Description |
|---|---|
static BoundedLIFOQDisc |
createInstance(SimNode ownNode,
Parameters pars)
as required by
ReflectionConstructable |
static BoundedLIFOQDisc |
createInstance(SimNode ownNode,
Parameters pars,
java.lang.Integer size) |
boolean |
wouldStore(Message msg) |
getMaxSizeInUnits, isEmpty, peek, pop, pushdequeue, dropScheduledNext, enqueue, getCurrentNumberOfMessages, getCurrentNumberOfUnits, getName, getNode, getParent, handleLossMessage, handleMessage, handleRejectedMessage, hasSpaceFor, statsUpdateDequeue, statsUpdateEnqueue, statsUpdateLoss, statsUpdateRejectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdequeue, dropScheduledNext, getCurrentNumberOfMessages, getCurrentNumberOfUnits, getMaxSizeInUnits, getName, getNode, getParent, handleMessage, isEmptypublic BoundedLIFOQDisc(int size,
SimNode ownNode)
public BoundedLIFOQDisc(SimNode ownNode, Parameters pars)
public static BoundedLIFOQDisc createInstance(SimNode ownNode, Parameters pars)
ReflectionConstructablepublic static BoundedLIFOQDisc createInstance(SimNode ownNode, Parameters pars, java.lang.Integer size)
public boolean wouldStore(Message msg)
wouldStore in interface QueuingDisciplinewouldStore in class StackableQueuingDisciplineProbabilisticQeuingDisciplines. For these, two subsequent
calls with the same message may return different results!