private void withMap(Consumer<RMapCache<String, String>> consumer) {
        final RMapCache<String, String> map = client.getMapCache(prefix);
        consumer.accept(map);
    }
Pass an {@link RMap} to the consumer.

@param consumer the consumer of the {@link RMap}
gateway/engine/redis/src/main/java/io/apiman/gateway/engine/redis/common/RedisBackingStore.java