Package io.tarantool.driver.core
Class TarantoolDaemonThreadFactory
- java.lang.Object
-
- io.tarantool.driver.core.TarantoolDaemonThreadFactory
-
- All Implemented Interfaces:
ThreadFactory
public class TarantoolDaemonThreadFactory extends Object implements ThreadFactory
Custom thread factory for scheduled executor service that creates daemon threads. Otherwise, applications that neglect to close the client will not exit.This class is not part of the public API.
-
-
Constructor Summary
Constructors Constructor Description TarantoolDaemonThreadFactory(String namePrefix)
-
-
-
Constructor Detail
-
TarantoolDaemonThreadFactory
public TarantoolDaemonThreadFactory(String namePrefix)
-
-
Method Detail
-
newThread
public Thread newThread(Runnable runnable)
- Specified by:
newThread
in interfaceThreadFactory
-
-