public class GetExParams extends Params
构造器和说明 |
---|
GetExParams() |
限定符和类型 | 方法和说明 |
---|---|
GetExParams |
ex(long secondsToExpire)
Set the specified expire time, in seconds.
|
GetExParams |
exAt(long seconds)
Set the specified Unix time at which the key will expire, in seconds.
|
byte[][] |
getByteParams(byte[] key,
byte[]... args) |
static GetExParams |
getExParams() |
GetExParams |
persist()
Remove the time to live associated with the key.
|
GetExParams |
px(long millisecondsToExpire)
Set the specified expire time, in milliseconds.
|
GetExParams |
pxAt(long milliseconds)
Set the specified Unix time at which the key will expire, in milliseconds.
|
getByteParams, getParam, toString
public static GetExParams getExParams()
public GetExParams ex(long secondsToExpire)
public GetExParams px(long millisecondsToExpire)
public GetExParams exAt(long seconds)
seconds
- public GetExParams pxAt(long milliseconds)
milliseconds
- public GetExParams persist()
public byte[][] getByteParams(byte[] key, byte[]... args)