public interface StreamReadArgs
Modifier and Type | Method and Description |
---|---|
StreamReadArgs |
count(int count)
Defines stream data size limit.
|
static StreamReadArgs |
greaterThan(StreamMessageId id0)
Defines last stream id received from current Stream.
|
StreamReadArgs |
timeout(Duration timeout)
Defines time interval to wait for stream data availability.
|
StreamReadArgs count(int count)
count
- - stream data size limitStreamReadArgs timeout(Duration timeout)
timeout
- - timeout durationstatic StreamReadArgs greaterThan(StreamMessageId id0)
id0
- - last stream id of current streamCopyright © 2014–2021 Redisson. All rights reserved.