Package org.redisson.api.stream
Class StreamReadParams
java.lang.Object
org.redisson.api.stream.StreamReadParams
- All Implemented Interfaces:
StreamReadArgs
- Author:
- Nikita Koksharov
-
Method Details
-
count
Description copied from interface:StreamReadArgs
Defines stream data size limit.- Specified by:
count
in interfaceStreamReadArgs
- Parameters:
count
- stream data size limit- Returns:
- arguments object
-
timeout
Description copied from interface:StreamReadArgs
Defines time interval to wait for stream data availability.0
is used to wait infinitely.- Specified by:
timeout
in interfaceStreamReadArgs
- Parameters:
timeout
- timeout duration- Returns:
- arguments object
-
getId1
-
getCount
public int getCount() -
getTimeout
-