public static class StringCommands.GetExArgument.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
StringCommands.GetExArgument |
build() |
static StringCommands.GetExArgument.Builder |
create() |
StringCommands.GetExArgument.Builder |
ex(long lifetime)
设置键的过期时间(单位:秒)
|
StringCommands.GetExArgument.Builder |
exAt(Date date)
设置键的过期时间
|
StringCommands.GetExArgument.Builder |
exAt(long lifetime)
设置键的过期时间
|
StringCommands.GetExArgument.Builder |
persist(Boolean persist)
设置键是否持久化
|
StringCommands.GetExArgument.Builder |
px(long lifetime)
设置键的过期时间(单位:毫秒)
|
StringCommands.GetExArgument.Builder |
pxAt(Date date)
设置键的过期时间
|
StringCommands.GetExArgument.Builder |
pxAt(long lifetime)
设置键的过期时间
|
public static StringCommands.GetExArgument.Builder create()
public StringCommands.GetExArgument.Builder ex(long lifetime)
lifetime
- 键的过期时间public StringCommands.GetExArgument.Builder exAt(long lifetime)
lifetime
- 键的过期时间,具体过期时间,秒时间戳public StringCommands.GetExArgument.Builder exAt(Date date)
date
- 键的过期时间,具体过期时间public StringCommands.GetExArgument.Builder px(long lifetime)
lifetime
- 键的过期时间public StringCommands.GetExArgument.Builder pxAt(long lifetime)
lifetime
- 键的过期时间,具体过期时间,毫秒时间戳public StringCommands.GetExArgument.Builder pxAt(Date date)
date
- 键的过期时间,具体过期时间,毫秒时间戳public StringCommands.GetExArgument.Builder persist(Boolean persist)
persist
- 设置键是否持久化public StringCommands.GetExArgument build()
Copyright © 2023 buession.com Inc.. All rights reserved.