public interface StreamMultiReadArgs
Modifier and Type | Method and Description |
---|---|
StreamMultiReadArgs |
count(int count)
Defines stream data size limit.
|
static StreamMultiReadArgs |
greaterThan(StreamMessageId id1,
Map<String,StreamMessageId> offsets)
Defines last stream ids received from all Streams
including current one.
|
static StreamMultiReadArgs |
greaterThan(StreamMessageId id1,
String stream2,
StreamMessageId id2)
Defines last stream ids received from all Streams
including current one.
|
static StreamMultiReadArgs |
greaterThan(StreamMessageId id1,
String stream2,
StreamMessageId id2,
String stream3,
StreamMessageId id3)
Defines last stream ids received from all Streams
including current one.
|
static StreamMultiReadArgs |
greaterThan(StreamMessageId id1,
String stream2,
StreamMessageId id2,
String stream3,
StreamMessageId id3,
String stream4,
StreamMessageId id4)
Defines last stream ids received from all Streams
including current one.
|
static StreamMultiReadArgs |
greaterThan(StreamMessageId id1,
String stream2,
StreamMessageId id2,
String stream3,
StreamMessageId id3,
String stream4,
StreamMessageId id4,
String stream5,
StreamMessageId id5)
Defines last stream ids received from all Streams
including current one.
|
StreamMultiReadArgs |
timeout(Duration timeout)
Defines time interval to wait for stream data availability.
|
StreamMultiReadArgs count(int count)
count
- - stream data size limitStreamMultiReadArgs timeout(Duration timeout)
timeout
- - timeout durationstatic StreamMultiReadArgs greaterThan(StreamMessageId id1, String stream2, StreamMessageId id2)
Read stream data from all defined streams with ids greater than defined ids.
id1
- - last stream id of current streamstream2
- - name of 2nd streamid2
- - last stream id of 2nd streamstatic StreamMultiReadArgs greaterThan(StreamMessageId id1, String stream2, StreamMessageId id2, String stream3, StreamMessageId id3)
Read stream data from all defined streams with ids greater than defined ids.
id1
- - last stream id of current streamstream2
- - name of 2nd streamid2
- - last stream id of 2nd streamstream3
- - name of 3rd streamid3
- - last stream id of 3rd streamstatic StreamMultiReadArgs greaterThan(StreamMessageId id1, String stream2, StreamMessageId id2, String stream3, StreamMessageId id3, String stream4, StreamMessageId id4)
Read stream data from all defined streams with ids greater than defined ids.
id1
- - last stream id of current streamstream2
- - name of 2nd streamid2
- - last stream id of 2nd streamstream3
- - name of 3rd streamid3
- - last stream id of 3rd streamstream4
- - name of 4th streamid4
- - last stream id of 4th streamstatic StreamMultiReadArgs greaterThan(StreamMessageId id1, String stream2, StreamMessageId id2, String stream3, StreamMessageId id3, String stream4, StreamMessageId id4, String stream5, StreamMessageId id5)
Read stream data from all defined streams with ids greater than defined ids.
id1
- - last stream id of current streamstream2
- - name of 2nd streamid2
- - last stream id of 2nd streamstream3
- - name of 3rd streamid3
- - last stream id of 3rd streamstream4
- - name of 4th streamid4
- - last stream id of 4th streamstream5
- - name of 4th streamid5
- - last stream id of 4th streamstatic StreamMultiReadArgs greaterThan(StreamMessageId id1, Map<String,StreamMessageId> offsets)
Read stream data from all defined streams with ids greater than defined ids.
id1
- - last stream id of current streamoffsets
- - last stream id mapped by stream nameCopyright © 2014–2021 Redisson. All rights reserved.