Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Stats |
build() |
Stats.Builder |
copy(Stats model) |
Stats.Builder |
inFlightMessages(Long inFlightMessages)
The approximate number of messages delivered to a consumer but not yet deleted and so
unavailable for re-delivery.
|
Stats.Builder |
sizeInBytes(Long sizeInBytes)
The approximate size of the queue in bytes.
|
Stats.Builder |
visibleMessages(Long visibleMessages)
The approximate number of visible messages (available for delivery) currently in the
queue.
|
public Stats.Builder visibleMessages(Long visibleMessages)
The approximate number of visible messages (available for delivery) currently in the queue.
visibleMessages
- the value to setpublic Stats.Builder inFlightMessages(Long inFlightMessages)
The approximate number of messages delivered to a consumer but not yet deleted and so unavailable for re-delivery.
inFlightMessages
- the value to setpublic Stats.Builder sizeInBytes(Long sizeInBytes)
The approximate size of the queue in bytes. Sum of the size of visible and in-flight messages.
sizeInBytes
- the value to setpublic Stats build()
public Stats.Builder copy(Stats model)
Copyright © 2016–2024. All rights reserved.