Package io.lettuce.core
Class XAddArgs.Builder
- java.lang.Object
-
- io.lettuce.core.XAddArgs.Builder
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XAddArgs
maxlen(long count)
Creates newXAddArgs
and setting MAXLEN.static XAddArgs
minId(String minid)
Creates newXAddArgs
and setting MINID.static XAddArgs
nomkstream()
Creates newXAddArgs
and setting NOMKSTREAM.
-
-
-
Method Detail
-
maxlen
public static XAddArgs maxlen(long count)
Creates newXAddArgs
and setting MAXLEN.- Returns:
- new
XAddArgs
with MAXLEN set. - See Also:
XAddArgs.maxlen(long)
-
nomkstream
public static XAddArgs nomkstream()
Creates newXAddArgs
and setting NOMKSTREAM.- Returns:
- new
XAddArgs
with NOMKSTREAM set. - Since:
- 6.1
- See Also:
XAddArgs.nomkstream()
-
minId
public static XAddArgs minId(String minid)
Creates newXAddArgs
and setting MINID.- Parameters:
minid
- the oldest ID in the stream will be exactly the minimum between its original oldest ID and the specified threshold.- Returns:
- new
XAddArgs
with MINID set. - Since:
- 6.1
- See Also:
XAddArgs.minId(String)
-
-