Packages

c

de.sciss.filecache

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
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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. This function is used only once during the initial directory scan of the producer after it is created.

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

    Definition Classes
    ConfigBuilderConfigLike
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def build: Config[A, B]
  7. 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
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. 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
  12. 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
  13. 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
  14. def extension_=(value: String): Unit
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. 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
  17. def folder_=(value: File): Unit
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. 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
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    ConfigBuilder → AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ConfigLike[A, B]

Inherited from AnyRef

Inherited from Any

Ungrouped