java.lang.Object
io.lettuce.core.XTrimArgs.Builder
- Enclosing class:
- XTrimArgs
public static class XTrimArgs.Builder extends Object
Builder entry points for
XTrimArgs.-
Method Summary
-
Method Details
-
maxlen
Creates newXTrimArgsand setting MAXLEN.- Returns:
- new
XTrimArgswith MAXLEN set. - See Also:
XTrimArgs.maxlen(long)
-
minId
Creates newXTrimArgsand 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
XTrimArgswith MINID set. - See Also:
XTrimArgs.minId(String)
-