Package org.redisson.api
Class PendingResult
-
- org.redisson.api.PendingResult
-
- All Implemented Interfaces:
public class PendingResult extends implements
Result object for pending messages request.- Author:
- Nikita Koksharov
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PendingResult()
PendingResult(long total, StreamMessageId lowestId, StreamMessageId highestId, <,> consumerNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <,>
getConsumerNames()
Pending messages amount mapped by consumer nameStreamMessageId
getHighestId()
Highest stream id of pending messagesStreamMessageId
getLowestId()
Lowest stream id of pending messageslong
getTotal()
Total amount of pending messages
-
-
-
Constructor Detail
-
PendingResult
public PendingResult()
-
PendingResult
public PendingResult(long total, StreamMessageId lowestId, StreamMessageId highestId, <,> consumerNames)
-
-
Method Detail
-
getTotal
public long getTotal()
Total amount of pending messages- Returns:
- number
-
getLowestId
public StreamMessageId getLowestId()
Lowest stream id of pending messages- Returns:
- number
-
getHighestId
public StreamMessageId getHighestId()
Highest stream id of pending messages- Returns:
- number
-
getConsumerNames
public <,> getConsumerNames()
Pending messages amount mapped by consumer name- Returns:
- map
-
-