Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Stats

The stats for a queue or a dead letter queue.

Properties

inFlightMessages

inFlightMessages: number

The approximate number of messages delivered to a consumer but not yet deleted and so unavailable for re-delivery. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

sizeInBytes

sizeInBytes: number

The approximate size of the queue in bytes. Sum of the size of visible and in-flight messages. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

visibleMessages

visibleMessages: number

The approximate number of visible messages (available for delivery) currently in the queue. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Stats): object

getJsonObj

  • getJsonObj(obj: Stats): object