Package org.redisson.api
Class PendingResult
- java.lang.Object
-
- org.redisson.api.PendingResult
-
- All Implemented Interfaces:
Serializable
public class PendingResult extends Object implements Serializable
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, Map<String,Long> consumerNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Long>
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, Map<String,Long> 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
-
-