de.sciss.filecache.Producer

ConfigBuilder

final class ConfigBuilder[A, B] extends ConfigLike[A, B]

A configuration builder is a mutable version of Config and will be implicitly converted to the latter when passed into Producer.apply.

Linear Supertypes
ConfigLike[A, B], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ConfigBuilder
  2. ConfigLike
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. var accept: (A, B) ⇒ Boolean

    Acceptor function.

    Acceptor function. Given an initially found value, this function should return true if the value is still valid, or false if it is invalid and should be recomputed.

    The default function always returns true, i.e. assumes that values never become invalid.

    Definition Classes
    ConfigBuilderConfigLike
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def build: Config[A, B]

  9. var capacity: Limit

    The maximum capacity of the cache.

    The maximum capacity of the cache.

    The default value is Limit(-1, -1) (unlimited capacity).

    Definition Classes
    ConfigBuilderConfigLike
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. var evict: (A, B) ⇒ Unit

    A function which is being called when an entry is evicted from cache.

    A function which is being called when an entry is evicted from cache. The function must ensure that any associated resources are disposed of.

    The default function is a no-op.

    Definition Classes
    ConfigBuilderConfigLike
  14. var executionContext: ExecutionContext

    The context used by the cache to spawn future computations.

    The context used by the cache to spawn future computations.

    The default value is ExecutionContext.global.

    Definition Classes
    ConfigBuilderConfigLike
  15. def extension: String

    The file name extension to use, excluding leading period.

    The file name extension to use, excluding leading period. It must only consist of letters and digits.

    The default value is "cache".

    Definition Classes
    ConfigBuilderConfigLike
  16. def extension_=(value: String): Unit

  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def folder: File

    The directory where the cached values are stored.

    The directory where the cached values are stored. If this directory does not exist upon cache creation, it will be created on the fly.

    By default this will lazily create a temporary directory deleted on application exit. If this value is set via folder_=, that setting replaces the default behavior.

    Definition Classes
    ConfigBuilderConfigLike
  19. def folder_=(value: File): Unit

  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. var space: (A, B) ⇒ Long

    Associate resources space function.

    Associate resources space function. Given a value, this function should compute the size in bytes of any additional resources used by this entry.

    The default function always returns zero, i.e. assumes that there are no additional resources associated with a value.

    Definition Classes
    ConfigBuilderConfigLike
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    ConfigBuilder → AnyRef → Any
  29. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from ConfigLike[A, B]

Inherited from AnyRef

Inherited from Any

Ungrouped