Package com.mongodb.internal.thread
Class DaemonThreadFactory
- java.lang.Object
-
- com.mongodb.internal.thread.DaemonThreadFactory
-
- All Implemented Interfaces:
ThreadFactory
@Deprecated(since="2021-05-27") public class DaemonThreadFactory extends Object implements ThreadFactory
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.Custom thread factory for scheduled executor service that creates daemon threads. Otherwise, applications that neglect to close the client will not exit.This class should not be considered a part of the public API.
-
-
Constructor Summary
Constructors Constructor Description DaemonThreadFactory(String prefix)
Deprecated.
-
-
-
Constructor Detail
-
DaemonThreadFactory
public DaemonThreadFactory(String prefix)
Deprecated.
-
-
Method Detail
-
newThread
public Thread newThread(Runnable runnable)
Deprecated.- Specified by:
newThread
in interfaceThreadFactory
-
-