Package com.linkedin.venice.utils
Class RandomAccessDaemonThreadFactory
- java.lang.Object
-
- com.linkedin.venice.utils.DaemonThreadFactory
-
- com.linkedin.venice.utils.RandomAccessDaemonThreadFactory
-
- All Implemented Interfaces:
java.util.concurrent.ThreadFactory
public class RandomAccessDaemonThreadFactory extends DaemonThreadFactory
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.utils.DaemonThreadFactory
threadNumber
-
-
Constructor Summary
Constructors Constructor Description RandomAccessDaemonThreadFactory(java.lang.String threadNamePrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Thread
getThread(int index)
java.lang.Thread
newThread(java.lang.Runnable r)
-
-
-
Method Detail
-
newThread
public java.lang.Thread newThread(java.lang.Runnable r)
- Specified by:
newThread
in interfacejava.util.concurrent.ThreadFactory
- Overrides:
newThread
in classDaemonThreadFactory
-
getThread
@Nullable public java.lang.Thread getThread(int index)
-
-