public class NoDropBoundedFIFOQDisc extends BoundedFIFOQDisc
OutputPort
to a pulling InputPort
.QueuingDiscipline.QueueEntry
maxSizeInUnits
lossProbability, numberOfMessages, numberOfUnits, parent, simNode, transferTime, waitingTime
CREATE_INSTANCE_METHOD_NAME
Constructor and Description |
---|
NoDropBoundedFIFOQDisc(SimNode ownNode,
int size) |
NoDropBoundedFIFOQDisc(SimNode ownNode,
Parameters pars) |
NoDropBoundedFIFOQDisc(SimNode ownNode,
Parameters pars,
int size) |
Modifier and Type | Method and Description |
---|---|
static NoDropBoundedFIFOQDisc |
createInstance(SimNode ownNode,
Parameters pars)
as required by
ReflectionConstructable |
static NoDropBoundedFIFOQDisc |
createInstance(SimNode ownNode,
Parameters pars,
java.lang.Integer size) |
int |
getMaxNumberOfMessages() |
protected void |
statsUpdateLoss(QueuingDiscipline.QueueEntry qe)
Whatever to be done on loss, e.g.
|
boolean |
wouldStore(Message msg) |
getMaxSizeInUnits, hasSpaceFor
isEmpty, peekInternal, pop, push
dequeue, dropScheduledNext, enqueue, getCurrentNumberOfMessages, getCurrentNumberOfUnits, getName, getNode, getParent, handleLossMessage, handleLossMessageInternal, handleMessage, handleRejectedMessage, peek, statsUpdateDequeue, statsUpdateEnqueue, statsUpdateReject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dequeue, dropScheduledNext, getCurrentNumberOfMessages, getCurrentNumberOfUnits, getName, getNode, getParent, handleMessage, isEmpty
public NoDropBoundedFIFOQDisc(SimNode ownNode, int size)
public NoDropBoundedFIFOQDisc(SimNode ownNode, Parameters pars)
public NoDropBoundedFIFOQDisc(SimNode ownNode, Parameters pars, int size)
public static NoDropBoundedFIFOQDisc createInstance(SimNode ownNode, Parameters pars)
ReflectionConstructable
public static NoDropBoundedFIFOQDisc createInstance(SimNode ownNode, Parameters pars, java.lang.Integer size)
protected void statsUpdateLoss(QueuingDiscipline.QueueEntry qe)
StackableQueuingDiscipline
statsUpdateLoss
in class StackableQueuingDiscipline
public boolean wouldStore(Message msg)
wouldStore
in interface QueuingDiscipline
wouldStore
in class StackableQueuingDiscipline
ProbabilisticQueuingDiscipline
s. For these, two subsequent
calls with the same message may return different results!public int getMaxNumberOfMessages()