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