Package com.jme3.network.kernel
Class NamedThreadFactory
java.lang.Object
com.jme3.network.kernel.NamedThreadFactory
- All Implemented Interfaces:
ThreadFactory
A simple factory that delegates to java.util.concurrent's
default thread factory but adds a prefix to the beginning
of the thread name.
-
Constructor Summary
ConstructorDescriptionNamedThreadFactory
(String name) NamedThreadFactory
(String name, boolean daemon) NamedThreadFactory
(String name, boolean daemon, ThreadFactory delegate) NamedThreadFactory
(String name, ThreadFactory delegate) -
Method Summary
-
Constructor Details
-
NamedThreadFactory
-
NamedThreadFactory
-
NamedThreadFactory
-
NamedThreadFactory
-
-
Method Details
-
newThread
- Specified by:
newThread
in interfaceThreadFactory
-