@Override
 public void onDisable() {
   // Clean up
   if (redisClient != null) {
     redisClient.shutdown();
     redisClient = null;
   }
 }
  public static void main(String[] args) {
    // Syntax: redis://[password@]host[:port][/databaseNumber]
    RedisClient redisClient = new RedisClient(RedisURI.create("redis://password@localhost:6379/0"));
    RedisConnection<String, String> connection = redisClient.connect();
    System.out.println("Connected to Redis");

    connection.set("foo", "bar");
    String value = connection.get("foo");
    System.out.println(value);

    connection.close();
    redisClient.shutdown();
  }
 @Override
 public void disconnect() throws IOException {
   client.shutdown();
   connection = null;
 }