ClassLoaderCachedFactory
mill.util.ClassLoaderCachedFactory
abstract class ClassLoaderCachedFactory[T](jobs: Int)(implicit e: Enclosing) extends CachedFactory[Seq[PathRef], T]
Combination of CachedFactory and RefCountedClassLoaderCache, providing an easy way to generate values of type T to each be used in a single-thread while re-using the underling URLClassLoader
s where possible.
Attributes
- Source
- ClassLoaderCachedFactory.scala
- Graph
-
- Supertypes
-
trait AutoCloseableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class KotlinWorkerManager
Members list
Value members
Abstract methods
Attributes
Concrete methods
Attributes
- Definition Classes
-
CachedFactoryWithInitData -> AutoCloseable
- Source
- ClassLoaderCachedFactory.scala
Attributes
- Definition Classes
- Source
- ClassLoaderCachedFactory.scala
Attributes
- Definition Classes
- Source
- ClassLoaderCachedFactory.scala
Attributes
- Definition Classes
- Source
- ClassLoaderCachedFactory.scala
Inherited methods
Returns true if the cache entry associated with the given key is still valid, false otherwise.
Returns true if the cache entry associated with the given key is still valid, false otherwise.
If false, the entry will be removed from the cache and setup will be invoked.
Attributes
- Inherited from:
- CachedFactoryWithInitData
- Source
- CachedFactory.scala
Attributes
- Inherited from:
- CachedFactory
- Source
- CachedFactory.scala
Attributes
- Inherited from:
- CachedFactory
- Source
- CachedFactory.scala
Attributes
- Inherited from:
- CachedFactoryWithInitData
- Source
- CachedFactory.scala
In this article