Package org.redisson.api
Class StreamGroup
- java.lang.Object
-
- org.redisson.api.StreamGroup
-
public class StreamGroup extends Object
Object containing details about Stream Group- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description StreamGroup(String name, int consumers, int pending, StreamMessageId lastDeliveredId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getConsumers()
Returns current customers amount for this groupStreamMessageId
getLastDeliveredId()
Returns last delivered StreamMessageId for this groupString
getName()
Returns name of this groupint
getPending()
Returns amount of pending messages for this group
-
-
-
Constructor Detail
-
StreamGroup
public StreamGroup(String name, int consumers, int pending, StreamMessageId lastDeliveredId)
-
-
Method Detail
-
getLastDeliveredId
public StreamMessageId 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
public String 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
-
-