Package org.apache.felix.gogo.runtime
Class ThreadUtils
java.lang.Object
org.apache.felix.gogo.runtime.ThreadUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ThreadFactory
namedThreadFactory
(String prefix) Constructs threads with names<prefix>-<pool number>-thread-<thread number>
.
-
Constructor Details
-
ThreadUtils
public ThreadUtils()
-
-
Method Details
-
namedThreadFactory
Constructs threads with names<prefix>-<pool number>-thread-<thread number>
.- Parameters:
prefix
- prefix to be used for thread names created by thisThreadFactory
- Returns:
- ThreadFactory
-