Package org.redisson.api.stream
Class StreamAddParams<K,V>
- java.lang.Object
-
- org.redisson.api.stream.StreamAddParams<K,V>
-
public class StreamAddParams<K,V> extends Object
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description StreamAddParams(Map<K,V> entries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<K,V>
getEntries()
int
getLimit()
TrimStrategy
getTrimStrategy()
int
getTrimThreshold()
boolean
isNoMakeStream()
boolean
isTrimStrict()
void
setLimit(int limit)
void
setNoMakeStream(boolean noMakeStream)
void
setTrimStrategy(TrimStrategy trimStrategy)
void
setTrimStrict(boolean trimStrict)
void
setTrimThreshold(int trimThreshold)
-
-
-
Method Detail
-
isNoMakeStream
public boolean isNoMakeStream()
-
setNoMakeStream
public void setNoMakeStream(boolean noMakeStream)
-
isTrimStrict
public boolean isTrimStrict()
-
setTrimStrict
public void setTrimStrict(boolean trimStrict)
-
getTrimStrategy
public TrimStrategy getTrimStrategy()
-
setTrimStrategy
public void setTrimStrategy(TrimStrategy trimStrategy)
-
getTrimThreshold
public int getTrimThreshold()
-
setTrimThreshold
public void setTrimThreshold(int trimThreshold)
-
getLimit
public int getLimit()
-
setLimit
public void setLimit(int limit)
-
-