Package io.lettuce.core
Class XTrimArgs.Builder
- java.lang.Object
-
- io.lettuce.core.XTrimArgs.Builder
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XTrimArgs
maxlen(long count)
Creates newXTrimArgs
and setting MAXLEN.static XTrimArgs
minId(String minid)
Creates newXTrimArgs
and setting MINID.
-
-
-
Method Detail
-
maxlen
public static XTrimArgs maxlen(long count)
Creates newXTrimArgs
and setting MAXLEN.- Returns:
- new
XTrimArgs
with MAXLEN set. - See Also:
XTrimArgs.maxlen(long)
-
minId
public static XTrimArgs minId(String minid)
Creates newXTrimArgs
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
XTrimArgs
with MINID set. - See Also:
XTrimArgs.minId(String)
-
-