Package io.lettuce.core
Class XClaimArgs.Builder
- java.lang.Object
-
- io.lettuce.core.XClaimArgs.Builder
-
- Enclosing class:
- XClaimArgs
public static class XClaimArgs.Builder extends Object
Builder entry points forXAddArgs
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XClaimArgs
justid()
Creates newXClaimArgs
and set theJUSTID
flag to return just the message id and do not increment the retry counter.static XClaimArgs
minIdleTime(long milliseconds)
static XClaimArgs
minIdleTime(Duration minIdleTime)
Creates newXClaimArgs
and set the minimum idle time.
-
-
-
Method Detail
-
justid
public static XClaimArgs justid()
Creates newXClaimArgs
and set theJUSTID
flag to return just the message id and do not increment the retry counter. The message body is not returned when callingXCLAIM
.- Returns:
- new
XClaimArgs
with min idle time set. - Since:
- 5.3
- See Also:
XClaimArgs.justid()
-
minIdleTime
public static XClaimArgs minIdleTime(long milliseconds)
-
minIdleTime
public static XClaimArgs minIdleTime(Duration minIdleTime)
Creates newXClaimArgs
and set the minimum idle time.- Returns:
- new
XClaimArgs
with min idle time set. - See Also:
XClaimArgs.minIdleTime(long)
-
-