Package org.redisson.api.stream
Class StreamCreateGroupParams
java.lang.Object
org.redisson.api.stream.StreamCreateGroupParams
- All Implemented Interfaces:
StreamCreateGroupArgs
- Author:
- Nikita Koksharov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionentriesRead(int amount) Defines entries_read argumentintgetId()getName()id(StreamMessageId id) Defines Stream Message ID.booleanDefines whether a stream should be created if it doesn't exist.
-
Constructor Details
-
StreamCreateGroupParams
-
-
Method Details
-
entriesRead
Description copied from interface:StreamCreateGroupArgsDefines entries_read argument- Specified by:
entriesReadin interfaceStreamCreateGroupArgs- Parameters:
amount- entries_read argument- Returns:
- arguments object
-
makeStream
Description copied from interface:StreamCreateGroupArgsDefines whether a stream should be created if it doesn't exist.- Specified by:
makeStreamin interfaceStreamCreateGroupArgs- Returns:
- arguments object
-
id
Description copied from interface:StreamCreateGroupArgsDefines Stream Message ID. Only new messages after defined streamidwill be available for consumers of this group.StreamMessageId.NEWESTis used for messages arrived since the moment of group creationStreamMessageId.ALLis used for all messages added before and after the moment of group creation- Specified by:
idin interfaceStreamCreateGroupArgs- Parameters:
id- Stream Message ID- Returns:
- arguments object
-
getName
-
isMakeStream
public boolean isMakeStream() -
getEntriesRead
public int getEntriesRead() -
getId
-