redis tests - hashes
parent
7f3718d259
commit
5d68e4549a
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue