E
- The Entitiy which can be handled by the Sinkpublic class Sink<E extends Entity> extends Station<E> implements HasPredecessor<E>
Constructor and Description |
---|
Sink(int incomingBufferQueueCapacity,
int maxEntitiesToHandle,
int parallelHandledEntities,
NumericalDist<?> setupTime,
NumericalDist<?> serviceTime,
NumericalDist<?> recoveryTime,
Model owner,
java.lang.String name,
boolean showInReport,
boolean showInTrace)
This Constructor sets the given times, initializes the queues and fills
the free service capacity queue.
|
getStartEvent
getCorrespondingSchedulable, getDescription, getObservations, getReporter, incrementObservations, incrementObservations, reportIsOn, reportOff, reportOn, reset, resetAt, setCorrespondingSchedulable, setDescription, setReporter
current, currentEntity, currentEntityAll, currentEvent, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOn
getName, getQuotedName, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getStartEvent
public Sink(int incomingBufferQueueCapacity, int maxEntitiesToHandle, int parallelHandledEntities, NumericalDist<?> setupTime, NumericalDist<?> serviceTime, NumericalDist<?> recoveryTime, Model owner, java.lang.String name, boolean showInReport, boolean showInTrace)
incomingBufferQueueCapacity
- the capatiy of the income queuemaxEntitiesToHandle
- the number of max entities the station can handleparallelHandledEntities
- the number of max parallel entities a station can handlesetupTime
- the time the station needs to set upserviceTime
- the time the station needs for the servicerecoveryTime
- the time the station needs to recoverowner
- the model ownername
- the name of the stationshowInReport
- should this construct be in the reportshowInTrace
- should this construct be in the trace