public class PendingResult extends Object implements Serializable
Constructor and Description |
---|
PendingResult() |
PendingResult(long total,
StreamMessageId lowestId,
StreamMessageId highestId,
Map<String,Long> consumerNames) |
Modifier and Type | Method and Description |
---|---|
Map<String,Long> |
getConsumerNames()
Pending messages amount mapped by consumer name
|
StreamMessageId |
getHighestId()
Highest stream id of pending messages
|
StreamMessageId |
getLowestId()
Lowest stream id of pending messages
|
long |
getTotal()
Total amount of pending messages
|
public PendingResult()
public PendingResult(long total, StreamMessageId lowestId, StreamMessageId highestId, Map<String,Long> consumerNames)
public long getTotal()
public StreamMessageId getLowestId()
public StreamMessageId getHighestId()
Copyright © 2014–2019 The Redisson Project. All rights reserved.