Package org.springframework.data.redis.connection.lettuce

Examples of org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.destroy()


          SettingsUtils.getPort());
      connectionFactory.afterPropertiesSet();
      RedisConnection connection = connectionFactory.getConnection();
      redisVersion = RedisVersionUtils.getRedisVersion(connection);
      connection.close();
      connectionFactory.destroy();
    }
  }

  public String get(String key) {
    if (REDIS_VERSION_KEY.equals(key)) {
View Full Code Here


    try {
      version = RedisVersionUtils.getRedisVersion(connection);
      connection.close();
    } finally {
      connectionFactory.destroy();
    }

    return version;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.