Package com.alibaba.druid.util

Examples of com.alibaba.druid.util.DaemonThreadFactory


        Runnable task = new Runnable() {
            public void run() {
               
            }
        };
        DaemonThreadFactory factory = new DaemonThreadFactory("test");
        Assert.assertEquals("[test-1]", factory.newThread(task).getName());
        Assert.assertEquals("[test-2]", factory.newThread(task).getName());
    }
View Full Code Here

TOP

Related Classes of com.alibaba.druid.util.DaemonThreadFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.