Class EolThreadFactory
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.concurrent.EolThreadFactory
-
- All Implemented Interfaces:
ThreadFactory
public class EolThreadFactory extends Object implements ThreadFactory
- Since:
- 1.6
- Author:
- Sina Madani
-
-
Field Summary
Fields Modifier and Type Field Description protected int
maxThreads
protected String
namePrefix
protected int
threadCount
-
Constructor Summary
Constructors Modifier Constructor Description protected
EolThreadFactory(int threadLimit, String threadNamePrefix)
-
-
-
Field Detail
-
threadCount
protected int threadCount
-
maxThreads
protected final int maxThreads
-
namePrefix
protected final String namePrefix
-
-
Constructor Detail
-
EolThreadFactory
protected EolThreadFactory(int threadLimit, String threadNamePrefix)
-
-
Method Detail
-
newThread
public EolExecutorThread newThread(Runnable target)
- Specified by:
newThread
in interfaceThreadFactory
-
-