| Package | Description |
|---|---|
| io.valkey | |
| io.valkey.commands |
This package contains the interfaces that contain methods representing Redis core commands.
|
| io.valkey.params |
This package contains the classes that represent optional parameters of core Redis commands.
|
| Modifier and Type | Method and Description |
|---|---|
CommandObject<String> |
CommandObjects.set(byte[] key,
byte[] value,
SetParams params) |
Response<String> |
PipeliningBase.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(String key,
String value,
SetParams params) |
Response<String> |
PipeliningBase.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<byte[]> |
CommandObjects.setGet(byte[] key,
byte[] value,
SetParams params) |
Response<byte[]> |
PipeliningBase.setGet(byte[] key,
byte[] value,
SetParams params) |
byte[] |
Jedis.setGet(byte[] key,
byte[] value,
SetParams params) |
byte[] |
UnifiedJedis.setGet(byte[] key,
byte[] value,
SetParams params) |
CommandObject<String> |
CommandObjects.setGet(String key,
String value,
SetParams params) |
Response<String> |
PipeliningBase.setGet(String key,
String value,
SetParams params) |
String |
Jedis.setGet(String key,
String value,
SetParams params) |
String |
UnifiedJedis.setGet(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) |
byte[] |
StringBinaryCommands.setGet(byte[] key,
byte[] value,
SetParams params) |
Response<byte[]> |
StringPipelineBinaryCommands.setGet(byte[] key,
byte[] value,
SetParams params) |
String |
StringCommands.setGet(String key,
String value,
SetParams params) |
Response<String> |
StringPipelineCommands.setGet(String key,
String value,
SetParams params) |
| Modifier and Type | Method and Description |
|---|---|
SetParams |
SetParams.ex(long remainingSeconds)
Set the specified expire time, in seconds.
|
SetParams |
SetParams.exAt(long timestampSeconds)
Set the specified Unix time at which the key will expire, in seconds.
|
SetParams |
SetParams.keepttl()
Retain the time to live associated with the key.
|
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 remainingMilliseconds)
Set the specified expire time, in milliseconds.
|
SetParams |
SetParams.pxAt(long timestampMilliseconds)
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 © 2024. All rights reserved.