Class StreamConsumersInfo

java.lang.Object
redis.clients.jedis.resps.StreamConsumersInfo

public class StreamConsumersInfo extends Object
This class holds information about a consumer. They can be access via getters. For future purpose there is also getConsumerInfo()} method that returns a generic Map - in case where more info is returned from the server.
  • Field Details

  • Constructor Details

    • StreamConsumersInfo

      public StreamConsumersInfo(Map<String,Object> map)
      Parameters:
      map - contains key-value pairs with consumer info
  • Method Details

    • getName

      public String getName()
    • getIdle

      public long getIdle()
    • getPending

      public long getPending()
    • getInactive

      public Long getInactive()
      Since Redis 7.2.
    • getConsumerInfo

      public Map<String,Object> getConsumerInfo()
      All data.
      Returns:
      Generic map containing all key-value pairs returned by the server