redis tests - hashes
parent
5d68e4549a
commit
511055e6e8
|
@ -20,7 +20,6 @@ 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();
|
||||||
|
|
Loading…
Reference in New Issue