object CachePolicy extends Serializable
- Alphabetic
- By Inheritance
- CachePolicy
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- case object FetchMissing extends CachePolicy with Product with Serializable
Pick local files, download the missing ones.
Pick local files, download the missing ones.
No updates are checked for files already downloaded.
- case object ForceDownload extends CachePolicy with Product with Serializable
(Re-)download all files.
(Re-)download all files.
Erases files already in cache.
- case object LocalOnly extends CachePolicy with Product with Serializable
Only pick local files, possibly from the cache.
Only pick local files, possibly from the cache. Don't try to download anything.
- case object LocalOnlyIfValid extends CachePolicy with Product with Serializable
Only pick local files, possibly from the cache.
Only pick local files, possibly from the cache. Don't return changing artifacts (whose last check is) older than TTL
- case object LocalUpdate extends CachePolicy with Product with Serializable
Only pick local files, check if any update is available for them, and download these if needed.
Only pick local files, check if any update is available for them, and download these if needed.
If no local file is found, *don't* try download it. Updates are only checked for files already in cache.
Follows the TTL parameter (assumes no update is needed if the last one is recent enough).
Unlike
LocalUpdateChanging
, all found local files are checked for updates, not just the changing ones. - case object LocalUpdateChanging extends CachePolicy with Product with Serializable
Only pick local files.
Only pick local files. If one of these local files corresponds to a changing artifact, check for updates, and download these if needed.
If no local file is found, *don't* try download it. Updates are only checked for files already in cache.
Follows the TTL parameter (assumes no update is needed if the last one is recent enough).
- case object Update extends CachePolicy with Product with Serializable
Pick local files, download the missing ones, check for updates and download those if any.
Pick local files, download the missing ones, check for updates and download those if any.
Follows the TTL parameter (assumes no update is needed if the last one is recent enough).
Unlike
UpdateChanging
, all found local files are checked for updates, not just the changing ones. - case object UpdateChanging extends CachePolicy with Product with Serializable
Pick local files, and download the missing ones.
Pick local files, and download the missing ones.
For changing ones, check for updates, and download those if any.
Follows the TTL parameter (assumes no update is needed if the last one is recent enough).