Class StreamInfo

java.lang.Object
redis.clients.jedis.resps.StreamInfo
All Implemented Interfaces:
Serializable

public class StreamInfo extends Object implements Serializable
This class holds information about stream. They can be access via getters. For future purpose there is also getStreamInfo() method that returns a generic Map - in case where more info is returned from the server.
See Also:
  • Field Details

  • Constructor Details

    • StreamInfo

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

    • getLength

      public long getLength()
    • getRadixTreeKeys

      public long getRadixTreeKeys()
    • getRadixTreeNodes

      public long getRadixTreeNodes()
    • getGroups

      public long getGroups()
    • getLastGeneratedId

      public StreamEntryID getLastGeneratedId()
    • getFirstEntry

      public StreamEntry getFirstEntry()
    • getLastEntry

      public StreamEntry getLastEntry()
    • getStreamInfo

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