Package org.redisson.api.stream
Class StreamReadParams
- java.lang.Object
-
- org.redisson.api.stream.StreamReadParams
-
- Direct Known Subclasses:
StreamReadGroupParams
public class StreamReadParams extends Object
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description StreamReadParams(StreamMessageId id1, Map<String,StreamMessageId> offsets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
StreamMessageId
getId1()
Map<String,StreamMessageId>
getOffsets()
Duration
getTimeout()
void
setCount(int count)
void
setTimeout(Duration timeout)
-
-
-
Constructor Detail
-
StreamReadParams
public StreamReadParams(StreamMessageId id1, Map<String,StreamMessageId> offsets)
-
-
Method Detail
-
getCount
public int getCount()
-
setCount
public void setCount(int count)
-
getTimeout
public Duration getTimeout()
-
setTimeout
public void setTimeout(Duration timeout)
-
getId1
public StreamMessageId getId1()
-
getOffsets
public Map<String,StreamMessageId> getOffsets()
-
-