public class NamedThreadFactory extends Object implements ThreadFactory
Executors.defaultThreadFactory(). Optionally a priority or daemon flag can be provided.
|Constructor and Description|
Creates a new named user thread factory using a normal priority.
Creates a new named thread factory using explicit priority and daemon settings.
public NamedThreadFactory(String poolName)
poolName- the name prefix of the thread pool which will be appended -number for the individual thread
Copyright © 2018 Global Biodiversity Information Facility. All rights reserved.