Package redis.clients.jedis
Class StreamInfo
- java.lang.Object
-
- redis.clients.jedis.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 alsogetStreamInfo()
method that returns a genericMap
- in case where more info is returned from a server- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIRST_ENTRY
static String
GROUPS
static String
LAST_ENTRY
static String
LAST_GENERATED_ID
static String
LENGTH
static String
RADIX_TREE_KEYS
static String
RADIX_TREE_NODES
-
Constructor Summary
Constructors Constructor Description StreamInfo(Map<String,Object> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamEntry
getFirstEntry()
long
getGroups()
StreamEntry
getLastEntry()
StreamEntryID
getLastGeneratedId()
long
getLength()
long
getRadixTreeKeys()
long
getRadixTreeNodes()
Map<String,Object>
getStreamInfo()
-
-
-
Field Detail
-
LENGTH
public static final String LENGTH
- See Also:
- Constant Field Values
-
RADIX_TREE_KEYS
public static final String RADIX_TREE_KEYS
- See Also:
- Constant Field Values
-
RADIX_TREE_NODES
public static final String RADIX_TREE_NODES
- See Also:
- Constant Field Values
-
GROUPS
public static final String GROUPS
- See Also:
- Constant Field Values
-
LAST_GENERATED_ID
public static final String LAST_GENERATED_ID
- See Also:
- Constant Field Values
-
FIRST_ENTRY
public static final String FIRST_ENTRY
- See Also:
- Constant Field Values
-
LAST_ENTRY
public static final String LAST_ENTRY
- See Also:
- Constant Field Values
-
-
Method Detail
-
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()
-
-