java.lang.Object
io.lettuce.core.GetExArgs.Builder
- Enclosing class:
- GetExArgs
public static class GetExArgs.Builder extends Object
Builder entry points for
GetExArgs.-
Method Summary
Modifier and Type Method Description static GetExArgsex(long timeout)Creates newGetExArgsand enable EX.static GetExArgsex(Duration timeout)Creates newGetExArgsand enable EX.static GetExArgsexAt(long timestamp)Creates newGetExArgsand enable EXAT.static GetExArgsexAt(Instant timestamp)Creates newGetExArgsand enable EXAT.static GetExArgsexAt(Date timestamp)Creates newGetExArgsand enable EXAT.static GetExArgspersist()Creates newGetExArgsand enable PERSIST.static GetExArgspx(long timeout)Creates newGetExArgsand enable PX.static GetExArgspx(Duration timeout)Creates newGetExArgsand enable PX.static GetExArgspxAt(long timestamp)Creates newGetExArgsand enable PXAT.static GetExArgspxAt(Instant timestamp)Creates newGetExArgsand enable PXAT.static GetExArgspxAt(Date timestamp)Creates newGetExArgsand enable PXAT.
-
Method Details
-
ex
Creates newGetExArgsand enable EX.- Parameters:
timeout- expire time in seconds.- Returns:
- new
GetExArgswith EX enabled. - See Also:
GetExArgs.ex(long)
-
ex
Creates newGetExArgsand enable EX.- Parameters:
timeout- expire time in seconds.- Returns:
- new
GetExArgswith EX enabled. - Since:
- 6.1
- See Also:
GetExArgs.ex(long)
-
exAt
Creates newGetExArgsand enable EXAT.- Parameters:
timestamp- the timestamp type: posix time in seconds.- Returns:
- new
GetExArgswith EXAT enabled. - See Also:
GetExArgs.exAt(long)
-
exAt
Creates newGetExArgsand enable EXAT.- Parameters:
timestamp- the timestamp type: posix time in seconds.- Returns:
- new
GetExArgswith EXAT enabled. - Since:
- 6.1
- See Also:
GetExArgs.exAt(Date)
-
exAt
Creates newGetExArgsand enable EXAT.- Parameters:
timestamp- the timestamp type: posix time in seconds.- Returns:
- new
GetExArgswith EXAT enabled. - Since:
- 6.1
- See Also:
GetExArgs.exAt(Instant)
-
px
Creates newGetExArgsand enable PX.- Parameters:
timeout- expire time in milliseconds.- Returns:
- new
GetExArgswith PX enabled. - See Also:
GetExArgs.px(long)
-
px
Creates newGetExArgsand enable PX.- Parameters:
timeout- expire time in milliseconds.- Returns:
- new
GetExArgswith PX enabled. - Since:
- 6.1
- See Also:
GetExArgs.px(long)
-
pxAt
Creates newGetExArgsand enable PXAT.- Parameters:
timestamp- the timestamp type: posix time.- Returns:
- new
GetExArgswith PXAT enabled. - See Also:
GetExArgs.pxAt(long)
-
pxAt
Creates newGetExArgsand enable PXAT.- Parameters:
timestamp- the timestamp type: posix time.- Returns:
- new
GetExArgswith PXAT enabled. - Since:
- 6.1
- See Also:
GetExArgs.pxAt(Date)
-
pxAt
Creates newGetExArgsand enable PXAT.- Parameters:
timestamp- the timestamp type: posix time.- Returns:
- new
GetExArgswith PXAT enabled. - Since:
- 6.1
- See Also:
GetExArgs.pxAt(Instant)
-
persist
Creates newGetExArgsand enable PERSIST.- Returns:
- new
GetExArgswith PERSIST enabled. - See Also:
GetExArgs.persist()
-