redis tests - hashes
parent
e56d822bde
commit
9da7c4cd82
|
@ -1,18 +1,14 @@
|
||||||
package net.krakatoa.proxy.redis;
|
package net.krakatoa.proxy.redis;
|
||||||
|
|
||||||
import io.lettuce.core.Value;
|
|
||||||
import io.lettuce.core.dynamic.Commands;
|
import io.lettuce.core.dynamic.Commands;
|
||||||
import io.lettuce.core.dynamic.annotation.Key;
|
|
||||||
import java.util.Map;
|
|
||||||
import reactor.core.publisher.Mono;
|
|
||||||
|
|
||||||
public interface RedisHashCommands extends Commands {
|
public interface RedisHashCommands extends Commands {
|
||||||
|
|
||||||
Mono<Long> hdel(Key key, Key... fields);
|
//Mono<Long> hdel(Key key, Key... fields);
|
||||||
|
|
||||||
Mono<Boolean> hset(Key key, Key field, Value value);
|
//Mono<Boolean> hset(Key key, Key field, Value value);
|
||||||
|
|
||||||
Boolean hset(String key, String field, String value);
|
Boolean hset(String key, String field, String value);
|
||||||
|
|
||||||
Mono<String> hmset(Key key, Map<Key, Value> map);
|
//Mono<String> hmset(Key key, Map<Key, Value> map);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue