redis tests - hashes

master
Alex 2022-03-26 22:00:03 +01:00
parent 511055e6e8
commit 7e44b6ab63
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ public class RedisManager {
public void connect() { public void connect() {
this.client = RedisClient.create(this.getConnectionUri()); this.client = RedisClient.create(this.getConnectionUri());
RedisCommandFactory factory = new RedisCommandFactory(client.connect()); RedisCommandFactory factory = new RedisCommandFactory(client.connect());
factory.setVerifyCommandMethods(false);
this.redisKeyCommands = factory.getCommands(RedisKeyCommands.class); this.redisKeyCommands = factory.getCommands(RedisKeyCommands.class);
this.redisHashCommands = factory.getCommands(RedisHashCommands.class); this.redisHashCommands = factory.getCommands(RedisHashCommands.class);
//this.connection = client.connect(); //this.connection = client.connect();