Package org.redisson.api
Class PendingEntry
java.lang.Object
org.redisson.api.PendingEntry
Entry object for pending messages request.
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorDescriptionPendingEntry
(StreamMessageId id, String consumerName, long idleTime, long lastTimeDelivered) -
Method Summary
-
Constructor Details
-
PendingEntry
-
-
Method Details
-
getId
Returns stream id of message- Returns:
- id
-
getConsumerName
Returns name of consumer- Returns:
- id
-
getIdleTime
public long getIdleTime()Returns milliseconds amount have passed since the last time the message was delivered to some consumer- Returns:
- number
-
getLastTimeDelivered
public long getLastTimeDelivered()Returns number of times that a given message was delivered- Returns:
- number
-
toString
-