QueueOps
The QueueOps
trait specifies operations to be supported by wait queues.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class WaitQueueclass WaitQueue_LCFS
Members list
Value members
Abstract methods
Return the number entities barred because of this wait-queue being full.
Return the number entities barred because of this wait-queue being full.
Attributes
Clear (remove all elements from) the wait queue.
Clear (remove all elements from) the wait queue.
Attributes
Remove and return the agent at the front of the queue.
Remove and return the agent at the front of the queue.
Attributes
Return whether this queue is empty.
Return whether this queue is empty.
Attributes
Return whether this queue is full.
Return whether this queue is full.
Attributes
Return the length of this queue.
Return the length of this queue.
Attributes
Do not wait in the queue and record zero waiting time. Call this method to get average waiting time for all agent. If you just want the waiting time for those who wait, do not call this method.
Do not wait in the queue and record zero waiting time. Call this method to get average waiting time for all agent. If you just want the waiting time for those who wait, do not call this method.
Value parameters
- agent
-
the agent skipping past this queue (but recording statistics)
Attributes
Ping the queue when leaving service, so the next agent can end its wait and likely progress to starting service now.
Ping the queue when leaving service, so the next agent can end its wait and likely progress to starting service now.
Attributes
Wait in the queue, recording the waiting time. Return whether the entity was able to actually join the queue or was barred.
Wait in the queue, recording the waiting time. Return whether the entity was able to actually join the queue or was barred.
Value parameters
- agent
-
the agent trying to wait in this queue