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