tinyscalautils.threads.KeepThreadsFactory
See theKeepThreadsFactory companion object
final class KeepThreadsFactory extends ThreadFactory
A thread factory that keeps a reference on all the threads it creates.
The factory can be reset: threads created before the reset are discarded.
Instances of KeepThreadsFactory
are thread-safe, and allThreads
can be invoked while the factory is still being used to create more threads.
Attributes
- See also
- Since
-
1.0
- Companion
- object
- Source
- KeepThreadsFactory.scala
- Graph
-
- Supertypes
Members list
In this article