private <R> R executeInJedis(Function<Jedis, R> function) {
        try (Jedis jedis = jedisPool.getResource()) {
            return function.apply(jedis);
        }
    }
A {@link JedisCommands} implementation that delegates to {@link JedisPool}.
redis-persistence/src/main/java/com/netflix/conductor/redis/jedis/JedisStandalone.java