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
Modifier and Type Method Description booleanequals(Object o)StringgetConsumer()StringgetId()longgetMsSinceLastDelivery()longgetRedeliveryCount()DurationgetSinceLastDelivery()inthashCode()StringtoString()
-
Constructor Details
-
PendingMessage
-
-
Method Details
-
getId
-
getConsumer
-
getMsSinceLastDelivery
public long getMsSinceLastDelivery() -
getSinceLastDelivery
-
getRedeliveryCount
public long getRedeliveryCount() -
equals
-
hashCode
public int hashCode() -
toString
-