Class ContainerThread.Factory

  • All Implemented Interfaces:
    java.util.concurrent.ThreadFactory
    Enclosing class:
    ContainerThread

    public static class ContainerThread.Factory
    extends java.lang.Object
    implements java.util.concurrent.ThreadFactory
    This class implements the ThreadFactory interface on top of a Provider for MetricConsumer instances.
    • Constructor Summary

      Constructors 
      Constructor Description
      Factory​(com.google.inject.Provider<MetricConsumer> provider)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Thread newThread​(java.lang.Runnable target)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Factory

        @Inject
        public Factory​(com.google.inject.Provider<MetricConsumer> provider)
    • Method Detail

      • newThread

        public java.lang.Thread newThread​(java.lang.Runnable target)
        Specified by:
        newThread in interface java.util.concurrent.ThreadFactory