protected static final class CUPS.CatchUpEvent extends SimQueueCatchUpEvent
SimEvent for catch-ups of which a single instance is used throughout in this class.CUPS.catchUpEventSimJQEvent.Arrival<J extends SimJob,Q extends SimQueue>, SimJQEvent.AutoRevocation<J extends SimJob,Q extends SimQueue>, SimJQEvent.Departure<J extends SimJob,Q extends SimQueue>, SimJQEvent.Drop<J extends SimJob,Q extends SimQueue>, SimJQEvent.Revocation<J extends SimJob,Q extends SimQueue>, SimJQEvent.Start<J extends SimJob,Q extends SimQueue>SimEntityEvent.Reset, SimEntityEvent.Update| Constructor and Description |
|---|
CatchUpEvent(CUPS queue,
double catchUpTime,
org.javades.jsimulation.r5.SimEventAction action)
Creates a new catch-up event.
|
copyForQueueAndJobgetJob, getQueuegetEntitypublic CatchUpEvent(CUPS queue, double catchUpTime, org.javades.jsimulation.r5.SimEventAction action)
queue - The CUPS queue for which to create the event.catchUpTime - The scheduled time of catch-up (event can be reused, so time may be changed on the event).action - The action to take upon the scheduled catch-up.Copyright © 2018. All rights reserved.