Package akka.dispatch
Class MonitorableThreadFactory
- java.lang.Object
-
- akka.dispatch.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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Thread.UncaughtExceptionHandler
$lessinit$greater$default$4()
static java.util.concurrent.atomic.AtomicLong
$lessinit$greater$default$5()
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)
static java.lang.Thread.UncaughtExceptionHandler
apply$default$4()
static java.util.concurrent.atomic.AtomicLong
apply$default$5()
boolean
canEqual(java.lang.Object x$1)
scala.Option<java.lang.ClassLoader>
contextClassLoader()
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)
java.lang.String
copy$default$1()
boolean
copy$default$2()
scala.Option<java.lang.ClassLoader>
copy$default$3()
java.lang.Thread.UncaughtExceptionHandler
copy$default$4()
java.util.concurrent.atomic.AtomicLong
copy$default$5()
protected java.util.concurrent.atomic.AtomicLong
counter()
java.util.concurrent.atomic.AtomicLong
counter$access$4()
boolean
daemonic()
static java.lang.Thread.UncaughtExceptionHandler
doNothing()
boolean
equals(java.lang.Object x$1)
java.lang.Thread.UncaughtExceptionHandler
exceptionHandler()
int
hashCode()
java.lang.String
name()
java.lang.Thread
newThread(java.lang.Runnable runnable)
java.util.concurrent.ForkJoinWorkerThread
newThread(java.util.concurrent.ForkJoinPool pool)
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
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)
protected <T extends java.lang.Thread>
Twire(T t)
MonitorableThreadFactory
withName(java.lang.String newName)
-
-
-
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 interfacejava.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory
-
newThread
public java.lang.Thread newThread(java.lang.Runnable runnable)
- Specified by:
newThread
in interfacejava.util.concurrent.ThreadFactory
-
withName
public MonitorableThreadFactory withName(java.lang.String newName)
-
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 interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-