List of usage examples for io.netty.util.concurrent FastThreadLocalThread FastThreadLocalThread
public FastThreadLocalThread(ThreadGroup group, Runnable target, String name)
From source file:org.apache.cassandra.concurrent.NamedThreadFactory.java
License:Apache License
public static Thread createThread(ThreadGroup threadGroup, Runnable runnable, String name, boolean daemon) { Thread thread = new FastThreadLocalThread(threadGroup, threadLocalDeallocator(runnable), name); thread.setDaemon(daemon);/* w ww . j a va 2 s . c o m*/ return thread; }