Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions src/main/java/io/lettuce/core/AbstractRedisAsyncCommands.java
Original file line number Diff line number Diff line change
Expand Up @@ -1429,6 +1429,41 @@ public RedisFuture<Long> hset(K key, Map<K, V> map) {
return dispatch(commandBuilder.hset(key, map));
}

@Override
public RedisFuture<Long> hsetex(K key, Map<K, V> map) {
return dispatch(commandBuilder.hsetex(key, map));
}

@Override
public RedisFuture<Long> hsetex(K key, HSetExArgs hSetExArgs, Map<K, V> map) {
return dispatch(commandBuilder.hsetex(key, hSetExArgs, map));
}

@Override
public RedisFuture<List<KeyValue<K, V>>> hgetex(K key, K... fields) {
return dispatch(commandBuilder.hgetex(key, fields));
}

@Override
public RedisFuture<List<KeyValue<K, V>>> hgetex(K key, HGetExArgs hGetExArgs, K... fields) {
return dispatch(commandBuilder.hgetex(key, hGetExArgs, fields));
}

@Override
public RedisFuture<Long> hgetex(KeyValueStreamingChannel<K, V> channel, K key, HGetExArgs hGetExArgs, K... fields) {
return dispatch(commandBuilder.hgetex(channel, key, hGetExArgs, fields));
}

@Override
public RedisFuture<List<KeyValue<K, V>>> hgetdel(K key, K... fields) {
return dispatch(commandBuilder.hgetdel(key, fields));
}

@Override
public RedisFuture<Long> hgetdel(KeyValueStreamingChannel<K, V> channel, K key, K... fields) {
return dispatch(commandBuilder.hgetdel(channel, key, fields));
}

@Override
public RedisFuture<Boolean> hsetnx(K key, K field, V value) {
return dispatch(commandBuilder.hsetnx(key, field, value));
Expand Down
35 changes: 35 additions & 0 deletions src/main/java/io/lettuce/core/AbstractRedisReactiveCommands.java
Original file line number Diff line number Diff line change
Expand Up @@ -1494,6 +1494,41 @@ public Mono<Long> hset(K key, Map<K, V> map) {
return createMono(() -> commandBuilder.hset(key, map));
}

@Override
public Mono<Long> hsetex(K key, Map<K, V> map) {
return createMono(() -> commandBuilder.hsetex(key, map));
}

@Override
public Mono<Long> hsetex(K key, HSetExArgs hSetExArgs, Map<K, V> map) {
return createMono(() -> commandBuilder.hsetex(key, hSetExArgs, map));
}

@Override
public Flux<KeyValue<K, V>> hgetex(K key, K... fields) {
return createDissolvingFlux(() -> commandBuilder.hgetex(key, fields));
}

@Override
public Flux<KeyValue<K, V>> hgetex(K key, HGetExArgs hGetExArgs, K... fields) {
return createDissolvingFlux(() -> commandBuilder.hgetex(key, hGetExArgs, fields));
}

@Override
public Mono<Long> hgetex(KeyValueStreamingChannel<K, V> channel, K key, HGetExArgs hGetExArgs, K... fields) {
return createMono(() -> commandBuilder.hgetex(channel, key, hGetExArgs, fields));
}

@Override
public Flux<KeyValue<K, V>> hgetdel(K key, K... fields) {
return createDissolvingFlux(() -> commandBuilder.hgetdel(key, fields));
}

@Override
public Mono<Long> hgetdel(KeyValueStreamingChannel<K, V> channel, K key, K... fields) {
return createMono(() -> commandBuilder.hgetdel(channel, key, fields));
}

@Override
public Mono<Boolean> hsetnx(K key, K field, V value) {
return createMono(() -> commandBuilder.hsetnx(key, field, value));
Expand Down
Loading
Loading