class NamedThreadFactory implements ThreadFactory {

    @Override
    public Thread newThread(Runnable runnable) {
        String name = mPrefix + mThreadNum.getAndIncrement();
        Thread ret = new Thread(mGroup, runnable, name, 0);
        ret.setDaemon(mDaemon);
        return ret;
    }

    public  NamedThreadFactory();
    public  NamedThreadFactory(String prefix);
    public  NamedThreadFactory(String prefix, boolean daemon);

}