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()intgetLimit()TrimStrategygetTrimStrategy()intgetTrimThreshold()booleanisNoMakeStream()booleanisTrimStrict()voidsetLimit(int limit)voidsetNoMakeStream(boolean noMakeStream)voidsetTrimStrategy(TrimStrategy trimStrategy)voidsetTrimStrict(boolean trimStrict)voidsetTrimThreshold(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)
-
-