Package io.lettuce.core.models.stream
Class PendingMessage
- java.lang.Object
-
- io.lettuce.core.models.stream.PendingMessage
-
public class PendingMessage extends Object
Value object representing a pending message reported through XPENDING with range/limit.- Since:
- 5.1
- Author:
- Mark Paluch
-
-
Constructor Summary
Constructors Constructor Description PendingMessage(String id, String consumer, long msSinceLastDelivery, long redeliveryCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getConsumer()
String
getId()
long
getMsSinceLastDelivery()
long
getRedeliveryCount()
Duration
getSinceLastDelivery()
int
hashCode()
String
toString()
-