Package redis.clients.jedis.resps
Class StreamGroupInfo
java.lang.Object
redis.clients.jedis.resps.StreamGroupInfo
- All Implemented Interfaces:
Serializable
This class holds information about a stream group. They can be access via getters. For future
purpose there is also
getGroupInfo() method that returns a generic Map - in case
where more info is returned from the server.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NAME
- See Also:
-
CONSUMERS
- See Also:
-
PENDING
- See Also:
-
LAST_DELIVERED
- See Also:
-
name
-
consumers
private final long consumers -
pending
private final long pending -
lastDeliveredId
-
groupInfo
-
-
Constructor Details
-
StreamGroupInfo
- Parameters:
map- contains key-value pairs with group info
-
-
Method Details
-
getName
-
getConsumers
public long getConsumers() -
getPending
public long getPending() -
getLastDeliveredId
-
getGroupInfo
- Returns:
- Generic map containing all key-value pairs returned by the server
-