code: private void injectCache(LongConsumer cacheAware) {
        if (cacheAware instanceof CacheAware) {
           ((CacheAware) cacheAware).injectCache(registry.getComponent(Cache.class));
        }
     }
docs: Method to inject a cache into a consumer.  Note we only support this for the consumer at this
  time.
  @param cacheAware the instance that may be a {@link CacheAware}