Class TransportFilter.TransportThreadFactory
- java.lang.Object
-
- org.glassfish.jersey.jdk.connector.internal.TransportFilter.TransportThreadFactory
-
- All Implemented Interfaces:
java.util.concurrent.ThreadFactory
- Enclosing class:
- TransportFilter
private static class TransportFilter.TransportThreadFactory extends java.lang.Object implements java.util.concurrent.ThreadFactoryA default thread factory that gets used ifThreadPoolConfig.getThreadFactory()is not specified.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringTHREAD_NAME_BASEprivate static java.util.concurrent.atomic.AtomicIntegerthreadCounterprivate ThreadPoolConfigthreadPoolConfig
-
Constructor Summary
Constructors Constructor Description TransportThreadFactory(ThreadPoolConfig threadPoolConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThreadnewThread(java.lang.Runnable r)
-
-
-
Field Detail
-
THREAD_NAME_BASE
private static final java.lang.String THREAD_NAME_BASE
- See Also:
- Constant Field Values
-
threadCounter
private static final java.util.concurrent.atomic.AtomicInteger threadCounter
-
threadPoolConfig
private final ThreadPoolConfig threadPoolConfig
-
-
Constructor Detail
-
TransportThreadFactory
TransportThreadFactory(ThreadPoolConfig threadPoolConfig)
-
-