Class ComputationPool.NamedThreadFactory
- java.lang.Object
-
- org.nuxeo.lib.stream.computation.log.ComputationPool.NamedThreadFactory
-
- All Implemented Interfaces:
ThreadFactory
- Enclosing class:
- ComputationPool
protected static class ComputationPool.NamedThreadFactory extends Object implements ThreadFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected AtomicInteger
count
protected String
prefix
-
Constructor Summary
Constructors Constructor Description NamedThreadFactory(String prefix)
-
-
-
Field Detail
-
count
protected final AtomicInteger count
-
prefix
protected final String prefix
-
-
Constructor Detail
-
NamedThreadFactory
public NamedThreadFactory(String prefix)
-
-
Method Detail
-
newThread
public Thread newThread(Runnable r)
- Specified by:
newThread
in interfaceThreadFactory
-
-