Class RxThreadFactory

  • All Implemented Interfaces:
    java.io.Serializable, java.util.concurrent.ThreadFactory

    public final class RxThreadFactory
    extends java.util.concurrent.atomic.AtomicLong
    implements java.util.concurrent.ThreadFactory
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.concurrent.ThreadFactory NONE  
      (package private) java.lang.String prefix  
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      RxThreadFactory​(java.lang.String prefix)  
    • 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.util.concurrent.atomic.AtomicLong

        accumulateAndGet, addAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAcquire, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, getOpaque, getPlain, incrementAndGet, intValue, lazySet, longValue, set, setOpaque, setPlain, setRelease, toString, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
      • Methods inherited from class java.lang.Number

        byteValue, shortValue
      • Methods inherited from class java.lang.Object

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

      • NONE

        public static final java.util.concurrent.ThreadFactory NONE
      • prefix

        final java.lang.String prefix
    • Constructor Detail

      • RxThreadFactory

        public RxThreadFactory​(java.lang.String prefix)
    • Method Detail

      • newThread

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