Package org.redisson.api.stream
Interface StreamReadGroupArgs
- All Known Implementing Classes:
StreamReadGroupParams
public interface StreamReadGroupArgs
Arguments object for RStream.readGroup() methods.
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptioncount
(int count) Defines stream data size limit.static StreamReadGroupArgs
Defines to return messages of current Stream with ids greater than defined message id.static StreamReadGroupArgs
Defines to return messages of current Stream never delivered to any other consumer.noAck()
Defines avoid of adding messages to Pending Entries List.Defines time interval to wait for stream data availability.
-
Method Details
-
noAck
StreamReadGroupArgs noAck()Defines avoid of adding messages to Pending Entries List.- Returns:
- arguments object
-
count
Defines stream data size limit.- Parameters:
count
- - stream data size limit- Returns:
- arguments object
-
timeout
Defines time interval to wait for stream data availability.- Parameters:
timeout
- - timeout duration- Returns:
- arguments object
-
neverDelivered
Defines to return messages of current Stream never delivered to any other consumer.- Returns:
- arguments object
-
greaterThan
Defines to return messages of current Stream with ids greater than defined message id.- Parameters:
id
- - message id- Returns:
- arguments object
-