QueueStats¶
- class oci.queue.models.QueueStats(**kwargs)¶
Bases:
objectThe 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:
Gets the channel_id of this QueueStats.
Gets the consumer_group_id of this QueueStats.
[Required] Gets the dlq of this QueueStats.
[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.
consumer_group_id (str) – The value to assign to the consumer_group_id property of this QueueStats.
- property 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
- property consumer_group_id¶
Gets the consumer_group_id of this QueueStats. If consumerGroupId is present in GetStats call, the consumer group id will be returned in the GetStats response.
- Returns
The consumer_group_id of this QueueStats.
- Return type
str
- property dlq¶
[Required] Gets the dlq of this QueueStats.
- Returns
The dlq of this QueueStats.
- Return type
- property queue¶
[Required] Gets the queue of this QueueStats.
- Returns
The queue of this QueueStats.
- Return type