Package redis.clients.jedis.resps
Class StreamInfo
java.lang.Object
redis.clients.jedis.resps.StreamInfo
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprivate final StreamEntryprivate final longstatic final Stringstatic final Stringstatic final Stringprivate final StreamEntryprivate final StreamEntryIDprivate final longstatic final Stringstatic final Stringstatic final Stringprivate final longprivate final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglong
-
Field Details
-
LENGTH
- See Also:
-
RADIX_TREE_KEYS
- See Also:
-
RADIX_TREE_NODES
- See Also:
-
GROUPS
- See Also:
-
LAST_GENERATED_ID
- See Also:
-
FIRST_ENTRY
- See Also:
-
LAST_ENTRY
- See Also:
-
length
private final long length -
radixTreeKeys
private final long radixTreeKeys -
radixTreeNodes
private final long radixTreeNodes -
groups
private final long groups -
lastGeneratedId
-
firstEntry
-
lastEntry
-
streamInfo
-
-
Constructor Details
-
StreamInfo
- 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
-
getFirstEntry
-
getLastEntry
-
getStreamInfo
- Returns:
- Generic map containing all key-value pairs returned by the server
-