KotlinWorkerManager

mill.kotlinlib.KotlinWorkerManager
See theKotlinWorkerManager companion object
class KotlinWorkerManager()(implicit ctx: TaskCtx) extends ClassLoaderCachedFactory[KotlinWorker]

Attributes

Companion
object
Graph
Supertypes
class ClassLoaderCachedFactory[KotlinWorker]
class CachedFactory[Seq[PathRef], KotlinWorker]
class CachedFactoryWithInitData[Seq[PathRef], Unit, KotlinWorker]
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getValue(cl: ClassLoader): KotlinWorker

Inherited methods

@Scaladoc(value = "/**\n * Returns true if the cache entry associated with the given key is still valid, false otherwise.\n *\n * If false, the entry will be removed from the cache and [[setup]] will be invoked.\n */")
def cacheEntryStillValid(key: Seq[PathRef], initData: => Unit, value: KotlinWorker): Boolean

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
override def close(): Unit

Attributes

Definition Classes
ClassLoaderCachedFactory -> CachedFactoryWithInitData -> AutoCloseable
Inherited from:
ClassLoaderCachedFactory
override def maxCacheSize: Int

Attributes

Definition Classes
ClassLoaderCachedFactory -> CachedFactoryWithInitData
Inherited from:
ClassLoaderCachedFactory
override def setup(key: Seq[PathRef]): KotlinWorker

Attributes

Definition Classes
ClassLoaderCachedFactory -> CachedFactory
Inherited from:
ClassLoaderCachedFactory
final def setup(key: Seq[PathRef], initData: Unit): KotlinWorker

Attributes

Inherited from:
CachedFactory
override def teardown(key: Seq[PathRef], value: KotlinWorker): Unit

Attributes

Definition Classes
ClassLoaderCachedFactory -> CachedFactoryWithInitData
Inherited from:
ClassLoaderCachedFactory
def withValue[R](key: Seq[PathRef])(block: KotlinWorker => R): R

Attributes

Inherited from:
CachedFactory
def withValue[R](key: Seq[PathRef], initData: => Unit)(block: KotlinWorker => R): R

Attributes

Inherited from:
CachedFactoryWithInitData