Package | Description |
---|---|
com.lambdaworks.redis |
The redis client package containing
RedisClient for regular and sentinel operations. |
com.lambdaworks.redis.api.async |
Standalone Redis API for asynchronous executed commands.
|
com.lambdaworks.redis.api.rx |
Standalone Redis API for reactive commands.
|
com.lambdaworks.redis.api.sync |
Standalone Redis API for synchronous executed commands.
|
com.lambdaworks.redis.cluster.api.async |
Redis Cluster API for asynchronous executed commands.
|
com.lambdaworks.redis.cluster.api.sync |
Redis Cluster API for synchronous executed commands.
|
Modifier and Type | Method and Description |
---|---|
SetArgs |
SetArgs.ex(long timeout)
Set the specified expire time, in seconds.
|
static SetArgs |
SetArgs.Builder.ex(long timeout)
Creates new
SetArgs and enabling EX. |
SetArgs |
SetArgs.nx()
Only set the key if it does not already exist.
|
static SetArgs |
SetArgs.Builder.nx()
Creates new
SetArgs and enabling NX. |
SetArgs |
SetArgs.px(long timeout)
Set the specified expire time, in milliseconds.
|
static SetArgs |
SetArgs.Builder.px(long timeout)
Creates new
SetArgs and enabling PX. |
SetArgs |
SetArgs.xx()
Only set the key if it already exists.
|
static SetArgs |
SetArgs.Builder.xx()
Creates new
SetArgs and enabling XX. |
Modifier and Type | Method and Description |
---|---|
RedisFuture<String> |
RedisStringsAsyncConnection.set(K key,
V value,
SetArgs setArgs)
Deprecated.
Set the string value of a key.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.set(K key,
V value,
SetArgs setArgs) |
Observable<String> |
AbstractRedisReactiveCommands.set(K key,
V value,
SetArgs setArgs) |
String |
RedisStringsConnection.set(K key,
V value,
SetArgs setArgs)
Deprecated.
Set the string value of a key.
|
Modifier and Type | Method and Description |
---|---|
RedisFuture<String> |
RedisStringAsyncCommands.set(K key,
V value,
SetArgs setArgs)
Set the string value of a key.
|
Modifier and Type | Method and Description |
---|---|
Observable<String> |
RedisStringReactiveCommands.set(K key,
V value,
SetArgs setArgs)
Set the string value of a key.
|
Modifier and Type | Method and Description |
---|---|
String |
RedisStringCommands.set(K key,
V value,
SetArgs setArgs)
Set the string value of a key.
|
Modifier and Type | Method and Description |
---|---|
AsyncExecutions<String> |
NodeSelectionStringAsyncCommands.set(K key,
V value,
SetArgs setArgs)
Set the string value of a key.
|
Modifier and Type | Method and Description |
---|---|
Executions<String> |
NodeSelectionStringCommands.set(K key,
V value,
SetArgs setArgs)
Set the string value of a key.
|
Copyright © 2018 lettuce.io. All rights reserved.