public static class ContainerThread.Factory extends Object implements ThreadFactory
ThreadFactory
interface on top of a Provider
for MetricConsumer
instances.Modifier and Type | Field and Description |
---|---|
private com.google.inject.Provider<MetricConsumer> |
provider |
Constructor and Description |
---|
Factory(com.google.inject.Provider<MetricConsumer> provider) |
private final com.google.inject.Provider<MetricConsumer> provider
@Inject public Factory(com.google.inject.Provider<MetricConsumer> provider)
public Thread newThread(Runnable target)
newThread
in interface ThreadFactory
Copyright © 2017. All rights reserved.