public static class RestoreArgs.Builder extends Object
XAddArgs.| Modifier and Type | Method and Description |
|---|---|
static RestoreArgs |
ttl(Duration ttl)
Creates new
RestoreArgs and set the minimum idle time. |
static RestoreArgs |
ttl(long milliseconds)
Creates new
RestoreArgs and set the TTL. |
public static RestoreArgs ttl(long milliseconds)
RestoreArgs and set the TTL.RestoreArgs with min idle time set.RestoreArgs.ttl(long)public static RestoreArgs ttl(Duration ttl)
RestoreArgs and set the minimum idle time.RestoreArgs with min idle time set.RestoreArgs.ttl(Duration)Copyright © 2021 lettuce.io. All rights reserved.