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