Package akka.dispatch

Class MonitorableThreadFactory

  • All Implemented Interfaces:
    java.io.Serializable, java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory, java.util.concurrent.ThreadFactory, scala.Equals, scala.Product

    public final class MonitorableThreadFactory
    extends java.lang.Object
    implements java.util.concurrent.ThreadFactory, java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory, scala.Product, java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MonitorableThreadFactory​(java.lang.String name, boolean daemonic, scala.Option<java.lang.ClassLoader> contextClassLoader, java.lang.Thread.UncaughtExceptionHandler exceptionHandler, java.util.concurrent.atomic.AtomicLong counter)  
    • Constructor Detail

      • MonitorableThreadFactory

        public MonitorableThreadFactory​(java.lang.String name,
                                        boolean daemonic,
                                        scala.Option<java.lang.ClassLoader> contextClassLoader,
                                        java.lang.Thread.UncaughtExceptionHandler exceptionHandler,
                                        java.util.concurrent.atomic.AtomicLong counter)
    • Method Detail

      • $lessinit$greater$default$4

        public static java.lang.Thread.UncaughtExceptionHandler $lessinit$greater$default$4()
      • $lessinit$greater$default$5

        public static java.util.concurrent.atomic.AtomicLong $lessinit$greater$default$5()
      • doNothing

        public static java.lang.Thread.UncaughtExceptionHandler doNothing()
      • apply

        public static MonitorableThreadFactory apply​(java.lang.String name,
                                                     boolean daemonic,
                                                     scala.Option<java.lang.ClassLoader> contextClassLoader,
                                                     java.lang.Thread.UncaughtExceptionHandler exceptionHandler,
                                                     java.util.concurrent.atomic.AtomicLong counter)
      • apply$default$4

        public static java.lang.Thread.UncaughtExceptionHandler apply$default$4()
      • apply$default$5

        public static java.util.concurrent.atomic.AtomicLong apply$default$5()
      • unapply

        public static scala.Option<scala.Tuple5<java.lang.String,​java.lang.Object,​scala.Option<java.lang.ClassLoader>,​java.lang.Thread.UncaughtExceptionHandler,​java.util.concurrent.atomic.AtomicLong>> unapply​(MonitorableThreadFactory x$0)
      • counter$access$4

        public java.util.concurrent.atomic.AtomicLong counter$access$4()
      • name

        public java.lang.String name()
      • daemonic

        public boolean daemonic()
      • contextClassLoader

        public scala.Option<java.lang.ClassLoader> contextClassLoader()
      • exceptionHandler

        public java.lang.Thread.UncaughtExceptionHandler exceptionHandler()
      • counter

        protected java.util.concurrent.atomic.AtomicLong counter()
      • newThread

        public java.util.concurrent.ForkJoinWorkerThread newThread​(java.util.concurrent.ForkJoinPool pool)
        Specified by:
        newThread in interface java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory
      • newThread

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

        protected <T extends java.lang.Thread> T wire​(T t)
      • copy

        public MonitorableThreadFactory copy​(java.lang.String name,
                                             boolean daemonic,
                                             scala.Option<java.lang.ClassLoader> contextClassLoader,
                                             java.lang.Thread.UncaughtExceptionHandler exceptionHandler,
                                             java.util.concurrent.atomic.AtomicLong counter)
      • copy$default$1

        public java.lang.String copy$default$1()
      • copy$default$2

        public boolean copy$default$2()
      • copy$default$3

        public scala.Option<java.lang.ClassLoader> copy$default$3()
      • copy$default$4

        public java.lang.Thread.UncaughtExceptionHandler copy$default$4()
      • copy$default$5

        public java.util.concurrent.atomic.AtomicLong copy$default$5()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • productElementName

        public java.lang.String productElementName​(int x$1)
        Specified by:
        productElementName in interface scala.Product
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object