public class StdOutSimQueueListener<J extends SimJob,Q extends SimQueue> extends StdOutSimJQListener<J,Q> implements SimQueueListener<J,Q>
SimQueueListener logging events on System.out.Copyright (C) 2005-2017 Jan de Jongh, TNO
This file is covered by the LICENSE file in the root of this project.
| Constructor and Description |
|---|
StdOutSimQueueListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyNewStartArmed(double time,
Q queue,
boolean startArmed)
Notification of a change of a
SimQueue startArmed state. |
void |
notifyOutOfServerAccessCredits(double time,
Q queue)
Notification that a
SimQueue has run out of server-access credits. |
void |
notifyRegainedServerAccessCredits(double time,
Q queue)
Notification that a
SimQueue has regained server-access credits. |
void |
notifyStartQueueAccessVacation(double time,
Q queue)
Notification of the start of a queue-access vacation.
|
void |
notifyStopQueueAccessVacation(double time,
Q queue)
Notification of the end of a queue-access vacation.
|
isOnlyResetsAndUpdatesAndStateChanges, notifyArrival, notifyAutoRevocation, notifyDeparture, notifyDrop, notifyRevocation, notifyStart, setOnlyResetsAndUpdatesAndStateChangesgetHeaderString, notifyResetEntity, notifyStateChanged, notifyUpdateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnotifyArrival, notifyAutoRevocation, notifyDeparture, notifyDrop, notifyRevocation, notifyStartnotifyResetEntity, notifyStateChanged, notifyUpdatepublic void notifyStartQueueAccessVacation(double time,
Q queue)
SimQueueListenernotifyStartQueueAccessVacation in interface SimQueueListener<J extends SimJob,Q extends SimQueue>time - The (current) time.queue - The queue.SimQueue.setQueueAccessVacation(double, boolean)public void notifyStopQueueAccessVacation(double time,
Q queue)
SimQueueListenernotifyStopQueueAccessVacation in interface SimQueueListener<J extends SimJob,Q extends SimQueue>time - The (current) time.queue - The queue.SimQueue.setQueueAccessVacation(double, boolean)public void notifyOutOfServerAccessCredits(double time,
Q queue)
SimQueueListenerSimQueue has run out of server-access credits.notifyOutOfServerAccessCredits in interface SimQueueListener<J extends SimJob,Q extends SimQueue>time - The (current) time.queue - The queue.SimQueue.setServerAccessCredits(double, int)public void notifyRegainedServerAccessCredits(double time,
Q queue)
SimQueueListenerSimQueue has regained server-access credits.notifyRegainedServerAccessCredits in interface SimQueueListener<J extends SimJob,Q extends SimQueue>time - The (current) time.queue - The queue.public void notifyNewStartArmed(double time,
Q queue,
boolean startArmed)
SimQueueListenerSimQueue startArmed state.notifyNewStartArmed in interface SimQueueListener<J extends SimJob,Q extends SimQueue>time - The (current) time.queue - The queue.startArmed - The new startArmed state.SimQueue.isStartArmed()Copyright © 2018. All rights reserved.