public class CategorizedThreadFactory extends Object implements ThreadFactory
| Constructor and Description |
|---|
CategorizedThreadFactory(String name,
String category,
int uniqueServerGroupId) |
public CategorizedThreadFactory(String name, String category, int uniqueServerGroupId)
name - the user-supplied name of this proxycategory - the type of threads this factory is creating (acceptor, client-to-proxy worker, proxy-to-server worker)uniqueServerGroupId - a unique number for the server group creating this thread factory, to differentiate multiple proxy instances with the same namepublic Thread newThread(Runnable r)
newThread in interface ThreadFactoryCopyright © 2009–2016 LittleShoot. All rights reserved.