Package com.linkedin.venice.utils
Class DaemonThreadFactory
java.lang.Object
com.linkedin.venice.utils.DaemonThreadFactory
- All Implemented Interfaces:
ThreadFactory
- Direct Known Subclasses:
RandomAccessDaemonThreadFactory
A thread factory that sets the threads to run as daemons. (Otherwise things
that embed the threadpool can't shut themselves down).
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
threadNumber
-
-
Constructor Details
-
DaemonThreadFactory
-
-
Method Details
-
newThread
- Specified by:
newThread
in interfaceThreadFactory
-