Class PendingEntry

java.lang.Object
org.redisson.api.PendingEntry

public class PendingEntry extends Object
Entry object for pending messages request.
Author:
Nikita Koksharov
  • Constructor Details

    • PendingEntry

      public PendingEntry(StreamMessageId id, String consumerName, long idleTime, long lastTimeDelivered)
  • Method Details

    • getId

      public StreamMessageId getId()
      Returns stream id of message
      Returns:
      id
    • getConsumerName

      public String 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

      public String toString()
      Overrides:
      toString in class Object