java.lang.Object
io.lettuce.core.XClaimArgs.Builder
- Enclosing class:
- XClaimArgs
public static class XClaimArgs.Builder extends Object
Builder entry points for
XAddArgs.-
Method Summary
Modifier and Type Method Description static XClaimArgsjustid()Creates newXClaimArgsand set theJUSTIDflag to return just the message id and do not increment the retry counter.static XClaimArgsminIdleTime(long milliseconds)static XClaimArgsminIdleTime(Duration minIdleTime)Creates newXClaimArgsand set the minimum idle time.
-
Method Details
-
justid
Creates newXClaimArgsand set theJUSTIDflag to return just the message id and do not increment the retry counter. The message body is not returned when callingXCLAIM.- Returns:
- new
XClaimArgswith min idle time set. - Since:
- 5.3
- See Also:
XClaimArgs.justid()
-
minIdleTime
-
minIdleTime
Creates newXClaimArgsand set the minimum idle time.- Returns:
- new
XClaimArgswith min idle time set. - See Also:
XClaimArgs.minIdleTime(long)
-