AbstractClassLoaderCache

sbt.internal.inc.classpath.AbstractClassLoaderCache
trait AbstractClassLoaderCache extends AutoCloseable

Attributes

Graph
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def apply(files: List[File]): ClassLoader
def cachedCustomClassloader(files: List[File], mkLoader: () => ClassLoader): ClassLoader

Returns a ClassLoader, as created by mkLoader.

Returns a ClassLoader, as created by mkLoader.

The returned ClassLoader may be cached from a previous call if the last modified time of all files is unchanged. This method is thread-safe.

Attributes

def commonParent: ClassLoader

Inherited methods

def close(): Unit

Attributes

Inherited from:
AutoCloseable