Package org.htmlunit
Class WebClient.ThreadNamingFactory
- java.lang.Object
-
- org.htmlunit.WebClient.ThreadNamingFactory
-
- All Implemented Interfaces:
java.util.concurrent.ThreadFactory
- Enclosing class:
- WebClient
private static final class WebClient.ThreadNamingFactory extends java.lang.Object implements java.util.concurrent.ThreadFactory
Our simple impl of a ThreadFactory (decorator) to be able to name our threads.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.ThreadFactory
baseFactory_
private static int
ID_
-
Constructor Summary
Constructors Constructor Description ThreadNamingFactory(java.util.concurrent.ThreadFactory aBaseFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Thread
newThread(java.lang.Runnable aRunnable)
-