@Override
        public Thread newThread(Runnable target) {
            return new ContainerThread(target, provider.get());
        }
This class implements the {@link ThreadFactory} interface on top of a {@link Provider} for {@link
MetricConsumer} instances.
jdisc_core/src/main/java/com/yahoo/jdisc/application/ContainerThread.java