| Modifier and Type | Method and Description |
|---|---|
static SetArgs |
ex(Duration timeout)
Creates new
SetArgs and enable EX. |
static SetArgs |
ex(long timeout)
Creates new
SetArgs and enable EX. |
static SetArgs |
exAt(Date timestamp)
Creates new
SetArgs and enable EXAT. |
static SetArgs |
exAt(Instant timestamp)
Creates new
SetArgs and enable EXAT. |
static SetArgs |
exAt(long timestamp)
Creates new
SetArgs and enable EXAT. |
static SetArgs |
keepttl()
Creates new
SetArgs and enable KEEPTTL. |
static SetArgs |
nx()
Creates new
SetArgs and enable NX. |
static SetArgs |
px(Duration timeout)
Creates new
SetArgs and enable PX. |
static SetArgs |
px(long timeout)
Creates new
SetArgs and enable PX. |
static SetArgs |
pxAt(Date timestamp)
Creates new
SetArgs and enable PXAT. |
static SetArgs |
pxAt(Instant timestamp)
Creates new
SetArgs and enable PXAT. |
static SetArgs |
pxAt(long timestamp)
Creates new
SetArgs and enable PXAT. |
static SetArgs |
xx()
Creates new
SetArgs and enable XX. |
public static SetArgs ex(long timeout)
SetArgs and enable EX.timeout - expire time in seconds.SetArgs with EX enabled.SetArgs.ex(long)public static SetArgs ex(Duration timeout)
SetArgs and enable EX.timeout - expire time as duration.SetArgs with EX enabled.SetArgs.ex(long)public static SetArgs exAt(long timestamp)
SetArgs and enable EXAT.timestamp - the timestamp type: posix time in seconds.SetArgs with EXAT enabled.SetArgs.exAt(long)public static SetArgs exAt(Date timestamp)
SetArgs and enable EXAT.timestamp - the timestamp type: posix time in seconds.SetArgs with EXAT enabled.SetArgs.exAt(Date)public static SetArgs exAt(Instant timestamp)
SetArgs and enable EXAT.timestamp - the timestamp type: posix time in seconds.SetArgs with EXAT enabled.SetArgs.exAt(Instant)public static SetArgs px(long timeout)
SetArgs and enable PX.timeout - expire time in milliseconds.SetArgs with PX enabled.SetArgs.px(long)public static SetArgs px(Duration timeout)
SetArgs and enable PX.timeout - expire time in milliseconds.SetArgs with PX enabled.SetArgs.px(long)public static SetArgs pxAt(long timestamp)
SetArgs and enable PXAT.timestamp - the timestamp type: posix time.SetArgs with PXAT enabled.SetArgs.pxAt(long)public static SetArgs pxAt(Date timestamp)
SetArgs and enable PXAT.timestamp - the timestamp type: posix time.SetArgs with PXAT enabled.SetArgs.pxAt(Date)public static SetArgs pxAt(Instant timestamp)
SetArgs and enable PXAT.timestamp - the timestamp type: posix time.SetArgs with PXAT enabled.SetArgs.pxAt(Instant)public static SetArgs nx()
SetArgs and enable NX.SetArgs with NX enabled.SetArgs.nx()public static SetArgs xx()
SetArgs and enable XX.SetArgs with XX enabled.SetArgs.xx()public static SetArgs keepttl()
SetArgs and enable KEEPTTL.SetArgs with KEEPTTL enabled.SetArgs.keepttl()Copyright © 2025 lettuce.io. All rights reserved.