Package | Description |
---|---|
redis.clients.jedis | |
redis.clients.jedis.commands | |
redis.clients.jedis.params |
Modifier and Type | Method and Description |
---|---|
String |
BinaryJedisCluster.set(byte[] key,
byte[] value,
SetParams params) |
String |
BinaryJedis.set(byte[] key,
byte[] value,
SetParams params)
Set the string value as value of the key.
|
Response<String> |
PipelineBase.set(byte[] key,
byte[] value,
SetParams params) |
String |
BinaryShardedJedis.set(byte[] key,
byte[] value,
SetParams params) |
void |
BinaryClient.set(byte[] key,
byte[] value,
SetParams params) |
String |
Jedis.set(String key,
String value,
SetParams params)
Set the string value as value of the key.
|
String |
ShardedJedis.set(String key,
String value,
SetParams params) |
Response<String> |
PipelineBase.set(String key,
String value,
SetParams params) |
void |
Client.set(String key,
String value,
SetParams params) |
String |
JedisCluster.set(String key,
String value,
SetParams params) |
Modifier and Type | Method and Description |
---|---|
String |
BinaryJedisCommands.set(byte[] key,
byte[] value,
SetParams params) |
Response<String> |
BinaryRedisPipeline.set(byte[] key,
byte[] value,
SetParams params) |
String |
BinaryJedisClusterCommands.set(byte[] key,
byte[] value,
SetParams params) |
String |
JedisClusterCommands.set(String key,
String value,
SetParams params) |
Response<String> |
RedisPipeline.set(String key,
String value,
SetParams params) |
String |
JedisCommands.set(String key,
String value,
SetParams params) |
void |
Commands.set(String key,
String value,
SetParams params) |
Modifier and Type | Method and Description |
---|---|
SetParams |
SetParams.ex(int secondsToExpire)
Set the specified expire time, in seconds.
|
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.
|
static SetParams |
SetParams.setParams() |
SetParams |
SetParams.xx()
Only set the key if it already exist.
|
Copyright © 2020. All rights reserved.