java.lang.Object
io.lettuce.core.RestoreArgs.Builder
- Enclosing class:
- RestoreArgs
public static class RestoreArgs.Builder extends Object
Builder entry points for
XAddArgs.-
Method Summary
Modifier and Type Method Description static RestoreArgsttl(long milliseconds)Creates newRestoreArgsand set the TTL.static RestoreArgsttl(Duration ttl)Creates newRestoreArgsand set the minimum idle time.
-
Method Details
-
ttl
Creates newRestoreArgsand set the TTL.- Returns:
- new
RestoreArgswith min idle time set. - See Also:
RestoreArgs.ttl(long)
-
ttl
Creates newRestoreArgsand set the minimum idle time.- Returns:
- new
RestoreArgswith min idle time set. - See Also:
RestoreArgs.ttl(Duration)
-