Packages

abstract class Cache extends AnyRef

A cache to use for individual runs. Not threadsafe

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cache
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def cached(files: Seq[IRContainer])(implicit ec: ExecutionContext): Future[Seq[IRFile]]

    Extract and cache IR.

    Extract and cache IR.

    The returned value is valid until the next invocation of cached or free.

    Note

    Updating any of the underlying files in the container during the lifetime of a returned IRFile yields unspecified behavior.

  2. abstract def free(): Unit

    Should be called if this cache is not used anymore.

    Should be called if this cache is not used anymore.

    Frees resources in the global cache, if they are not used anymore. The cache may be reused after calling free (but this is not any faster than calling IRFileCache.newCache, modulo the object allocation).