public class GroupedAndNamedThreadFactory extends Object implements ThreadFactory
Modifier and Type | Field and Description |
---|---|
private AtomicInteger |
i |
private ThreadGroup |
tg |
Constructor and Description |
---|
GroupedAndNamedThreadFactory(String name) |
private final AtomicInteger i
private final ThreadGroup tg
public GroupedAndNamedThreadFactory(String name)
public Thread newThread(Runnable r)
newThread
in interface ThreadFactory
Copyright © 2012-2014 52north.org. All Rights Reserved.