QueueStats¶
-
class
oci.queue.models.
QueueStats
(**kwargs)¶ Bases:
object
The stats for a queue and its dead letter queue. If channelId is specified in request field, it will return channel specific stats response.
Methods
__init__
(**kwargs)Initializes a new QueueStats object with values from keyword arguments. Attributes
channel_id
Gets the channel_id of this QueueStats. dlq
[Required] Gets the dlq of this QueueStats. queue
[Required] Gets the queue of this QueueStats. -
__init__
(**kwargs)¶ Initializes a new QueueStats object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - queue (oci.queue.models.Stats) – The value to assign to the queue property of this QueueStats.
- dlq (oci.queue.models.Stats) – The value to assign to the dlq property of this QueueStats.
- channel_id (str) – The value to assign to the channel_id property of this QueueStats.
-
channel_id
¶ Gets the channel_id of this QueueStats. If channelId is present in GetStats call, the channel id will be returned in the GetStats response.
Returns: The channel_id of this QueueStats. Return type: str
-
dlq
¶ [Required] Gets the dlq of this QueueStats.
Returns: The dlq of this QueueStats. Return type: oci.queue.models.Stats
-
queue
¶ [Required] Gets the queue of this QueueStats.
Returns: The queue of this QueueStats. Return type: oci.queue.models.Stats
-