Class PrefixThreadFactory

java.lang.Object
crow.game.examples.pingpong.utils.PrefixThreadFactory
All Implemented Interfaces:
ThreadFactory

public class PrefixThreadFactory extends Object implements ThreadFactory
Thread factory which prefixes the thread with the given name and an incremental integer. Useful for debugging thread pools built by Netty.