Packages

abstract class Cache extends IRFileCache.Cache

Cache opens IRFileCache.Cache for inheritance.

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

Instance Constructors

  1. new Cache()

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.

    Definition Classes
    Cache
    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).

    Definition Classes
    Cache