Package redis.clients.jedis.resps
Class StreamConsumersInfo
java.lang.Object
redis.clients.jedis.resps.StreamConsumersInfo
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
-
NAME
- See Also:
-
IDLE
- See Also:
-
PENDING
- See Also:
-
INACTIVE
- See Also:
-
name
-
idle
private final long idle -
pending
private final long pending -
inactive
-
consumerInfo
-
-
Constructor Details
-
StreamConsumersInfo
- Parameters:
map- contains key-value pairs with consumer info
-
-
Method Details
-
getName
-
getIdle
public long getIdle() -
getPending
public long getPending() -
getInactive
Since Redis 7.2. -
getConsumerInfo
All data.- Returns:
- Generic map containing all key-value pairs returned by the server
-