| Package | Description |
|---|---|
| redis.clients.jedis | |
| redis.clients.jedis.commands | |
| redis.clients.jedis.params |
| Modifier and Type | Method and Description |
|---|---|
Response<String> |
Pipeline.set(byte[] key,
byte[] value,
SetParams params) |
Response<String> |
MultiNodePipelineBase.set(byte[] key,
byte[] value,
SetParams params) |
Response<String> |
TransactionBase.set(byte[] key,
byte[] value,
SetParams params) |
String |
Jedis.set(byte[] key,
byte[] value,
SetParams params)
Set the string value as value of the key.
|
String |
UnifiedJedis.set(byte[] key,
byte[] value,
SetParams params) |
CommandObject<String> |
CommandObjects.set(byte[] key,
byte[] value,
SetParams params) |
Response<String> |
Pipeline.set(String key,
String value,
SetParams params) |
Response<String> |
MultiNodePipelineBase.set(String key,
String value,
SetParams params) |
Response<String> |
TransactionBase.set(String key,
String value,
SetParams params) |
String |
Jedis.set(String key,
String value,
SetParams params)
Set the string value as value of the key.
|
String |
UnifiedJedis.set(String key,
String value,
SetParams params) |
CommandObject<String> |
CommandObjects.set(String key,
String value,
SetParams params) |
| Modifier and Type | Method and Description |
|---|---|
String |
StringBinaryCommands.set(byte[] key,
byte[] value,
SetParams params) |
Response<String> |
StringPipelineBinaryCommands.set(byte[] key,
byte[] value,
SetParams params) |
String |
StringCommands.set(String key,
String value,
SetParams params)
Set Command
Set the string value as value of the key.
|
Response<String> |
StringPipelineCommands.set(String key,
String value,
SetParams params) |
| Modifier and Type | Method and Description |
|---|---|
SetParams |
SetParams.ex(long secondsToExpire)
Set the specified expire time, in seconds.
|
SetParams |
SetParams.exAt(long seconds)
Set the specified Unix time at which the key will expire, in seconds.
|
SetParams |
SetParams.get()
Return the old value stored at key, or nil when key did not exist.
|
SetParams |
SetParams.keepttl()
Retain the time to live associated with the key.
|
SetParams |
SetParams.nx()
Only set the key if it does not already exist.
|
SetParams |
SetParams.px(long millisecondsToExpire)
Set the specified expire time, in milliseconds.
|
SetParams |
SetParams.pxAt(long milliseconds)
Set the specified Unix time at which the key will expire, in milliseconds.
|
static SetParams |
SetParams.setParams() |
SetParams |
SetParams.xx()
Only set the key if it already exist.
|
Copyright © 2022. All rights reserved.