Class PrefixThreadFactory
java.lang.Object
crow.game.examples.pingpong.utils.PrefixThreadFactory
- All Implemented Interfaces:
ThreadFactory
Thread factory which prefixes the thread with the given name and an incremental integer. Useful
for debugging thread pools built by Netty.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PrefixThreadFactory
-
-
Method Details
-
newThread
- Specified by:
newThreadin interfaceThreadFactory
-