Class IsolatedOutputStream.NamedThreadFactory

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

    private static class IsolatedOutputStream.NamedThreadFactory
    extends java.lang.Object
    implements java.util.concurrent.ThreadFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.concurrent.atomic.AtomicInteger cnt  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private NamedThreadFactory()  
    • Method Summary

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

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

      • cnt

        private static final java.util.concurrent.atomic.AtomicInteger cnt
    • Constructor Detail

      • NamedThreadFactory

        private NamedThreadFactory()
    • Method Detail

      • newThread

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