Create a Redis Client in Java

For Salesforce Functions written in Java, access your Redis datastore with the Jedis Redis client. Access environment variable REDIS_URL using method System.getenv to create a Redis client instance.