public interface SimJQListener<J extends SimJob,Q extends SimQueue> extends SimEntityListener
Copyright (C) 2005-2017 Jan de Jongh, TNO
This file is covered by the LICENSE file in the root of this project.
| Modifier and Type | Method and Description |
|---|---|
void |
notifyArrival(double time,
J job,
Q queue)
Notification of the arrival of a job at a queue.
|
void |
notifyAutoRevocation(double time,
J job,
Q queue)
Notification of the auto-revocation of a job at a queue.
|
void |
notifyDeparture(double time,
J job,
Q queue)
Notification of the departure of a job at a queue.
|
void |
notifyDrop(double time,
J job,
Q queue)
Notification of the drop of a job at a queue.
|
void |
notifyRevocation(double time,
J job,
Q queue)
Notification of the (successful) revocation of a job at a queue.
|
void |
notifyStart(double time,
J job,
Q queue)
Notification of the start of a job at a queue.
|
notifyResetEntity, notifyStateChanged, notifyUpdatevoid notifyArrival(double time,
J job,
Q queue)
time - The (current) time.job - The job.queue - The queue.SimQueue.arrive(double, J)void notifyDrop(double time,
J job,
Q queue)
time - The (current) time.job - The job.queue - The queue.void notifyRevocation(double time,
J job,
Q queue)
time - The (current) time.job - The job.queue - The queue.SimQueue.revoke(double, J, boolean)void notifyAutoRevocation(double time,
J job,
Q queue)
time - The (current) time.job - The job.queue - The queue.SimQueue.getAutoRevocationPolicy()void notifyStart(double time,
J job,
Q queue)
time - The (current) time.job - The job.queue - The queue.Copyright © 2018. All rights reserved.