Package org.redisson.api
Class StreamGroup
java.lang.Object
org.redisson.api.StreamGroup
Object containing details about Stream Group
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorsConstructorDescriptionStreamGroup(String name, int consumers, int pending, StreamMessageId lastDeliveredId) -
Method Summary
Modifier and TypeMethodDescriptionintReturns current customers amount for this groupReturns last delivered StreamMessageId for this groupgetName()Returns name of this groupintReturns amount of pending messages for this group
-
Constructor Details
-
StreamGroup
-
-
Method Details
-
getLastDeliveredId
Returns last delivered StreamMessageId for this group- Returns:
- StreamMessageId object
-
getConsumers
public int getConsumers()Returns current customers amount for this group- Returns:
- customers amount
-
getName
Returns name of this group- Returns:
- name of group
-
getPending
public int getPending()Returns amount of pending messages for this group- Returns:
- amount of pending messages
-