Class XPendingSummary
- java.lang.Object
-
- io.quarkus.redis.datasource.stream.XPendingSummary
-
public class XPendingSummary extends Object
The result of the xpending command when using the summary form.When using the summary form of xpending, the command outputs the total number of pending messages for this consumer group, followed by the smallest and greatest ID among the pending messages, and then list every consumer in the consumer group with at least one pending message, and the number of pending messages it has.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Long>
getConsumers()
Get the list of every consumer in the consumer group with at least one pending message, and the number of pending messages it has.String
getHighestId()
Gets the highest message id that was not yet acknowledged.String
getLowestId()
Gets the lowest message id that was not yet acknowledged.long
getPendingCount()
Gets the number of message waiting for acknowledgement
-
-
-
Method Detail
-
getPendingCount
public long getPendingCount()
Gets the number of message waiting for acknowledgement- Returns:
- the number of message not yet acknowledged
-
getLowestId
public String getLowestId()
Gets the lowest message id that was not yet acknowledged.- Returns:
- the lowest message id
-
getHighestId
public String getHighestId()
Gets the highest message id that was not yet acknowledged.- Returns:
- the highest message id
-
-