public Typed cache()

in api/src/main/java/com/spotify/metrics/core/MetricIdCache.java [205:211]


        public Typed<T> cache(Cache<T> cache) {
            if (cache == null) {
                throw new IllegalArgumentException("'cache' must not be null");
            }

            return new Typed<T>(any, cache, loader, typedCacheBuilder);
        }