QueuePressure
enum QueuePressure(lifecycle: ConnectedLifecycleContext, queue: LifecycleQueue, depth: Int, capacity: Int, status: LifecycleQueueStatus) extends LifecycleEventA depth sample from a bounded runtime queue, or an offer that a full queue rejected.
Parameters
lifecycleThe lifecycle that owns the queue.
queueThe queue that Scalive observed.
depthThe number of items in the queue when Scalive observed it.
capacityThe maximum number of items the queue accepts.
statusWhether this is an ordinary sample or a rejected offer.
Defined by scalive.LifecycleEvent.QueuePressure. View source (scalive/api/src/scalive/LifecycleObserver.scala:508-513)
Values5
capacity
val capacity: IntThe maximum number of items the queue accepts.
Defined by scalive.LifecycleEvent.QueuePressure.capacity. View source (scalive/api/src/scalive/LifecycleObserver.scala:512-512)
depth
val depth: IntThe number of items in the queue when Scalive observed it.
Defined by scalive.LifecycleEvent.QueuePressure.depth. View source (scalive/api/src/scalive/LifecycleObserver.scala:511-511)
lifecycle
val lifecycle: ConnectedLifecycleContextThe lifecycle that owns the queue.
Defined by scalive.LifecycleEvent.QueuePressure.lifecycle. View source (scalive/api/src/scalive/LifecycleObserver.scala:509-509)
queue
val queue: LifecycleQueueThe queue that Scalive observed.
Defined by scalive.LifecycleEvent.QueuePressure.queue. View source (scalive/api/src/scalive/LifecycleObserver.scala:510-510)
status
val status: LifecycleQueueStatusWhether this is an ordinary sample or a rejected offer.
Defined by scalive.LifecycleEvent.QueuePressure.status. View source (scalive/api/src/scalive/LifecycleObserver.scala:513-513)