Class/Object

coursier.cache

FileCache

Related Docs: object FileCache | package cache

Permalink

final class FileCache[F[_]] extends Cache[F]

Linear Supertypes
Cache[F], PlatformCache[F], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileCache
  2. Cache
  3. PlatformCache
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FileCache(params: Params[F])

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def S: Schedulable[F]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def bufferSize: Int

    Permalink
  7. def cachePolicies: Seq[CachePolicy]

    Permalink
  8. def checksums: Seq[Option[String]]

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. lazy val ec: ExecutionContextExecutorService

    Permalink
    Definition Classes
    FileCacheCache
  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def fetch: Fetch[F]

    Permalink

    Method to fetch an Artifact.

    Method to fetch an Artifact.

    Note that this method tries all the coursier.CachePolicyies of this cache straightaway. During resolutions, you should prefer to try all repositories for the first policy, then the other policies if needed (in pseudo-code, for (policy <- policies; repo <- repositories) …, rather than for (repo <- repositories, policy <- policies) …). You should use the fetchs method in that case.

    Definition Classes
    FileCacheCache
  14. def fetchs: Seq[Fetch[F]]

    Permalink

    Sequence of Repository.Fetch able to fetch an Artifact.

    Sequence of Repository.Fetch able to fetch an Artifact.

    Each element correspond to a coursier.CachePolicy of this Cache. You may want to pass each of them to coursier.core.ResolutionProcess.fetch().

    returns

    a non empty sequence

    Definition Classes
    FileCacheCache
  15. def file(artifact: core.Artifact, retry: Int): EitherT[F, ArtifactError, File]

    Permalink
  16. def file(artifact: core.Artifact): EitherT[F, ArtifactError, File]

    Permalink

    This method computes the task needed to get a file.

    This method computes the task needed to get a file.

    Definition Classes
    FileCachePlatformCache
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def followHttpToHttpsRedirections: Boolean

    Permalink
  19. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  22. def localArtifactsShouldBeCached: Boolean

    Permalink
  23. def localFile(url: String, user: Option[String] = None): File

    Permalink
  24. def location: File

    Permalink
  25. def logger: CacheLogger

    Permalink
  26. def loggerOpt: Some[CacheLogger]

    Permalink
    Definition Classes
    FileCacheCache
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def pool: ExecutorService

    Permalink
  31. def retry: Int

    Permalink
  32. def sslRetry: Int

    Permalink
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. def ttl: Option[Duration]

    Permalink
  36. def validateChecksum(artifact: core.Artifact, sumType: String): EitherT[F, ArtifactError, Unit]

    Permalink
  37. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def withCachePolicies(cachePolicies: Seq[CachePolicy]): FileCache[F]

    Permalink
  41. def withChecksums(checksums: Seq[Option[String]]): FileCache[F]

    Permalink
  42. def withFollowHttpToHttpsRedirections(followHttpToHttpsRedirections: Boolean): FileCache[F]

    Permalink
  43. def withLocalArtifactsShouldBeCached(localArtifactsShouldBeCached: Boolean): FileCache[F]

    Permalink
  44. def withLocation(location: File): FileCache[F]

    Permalink
  45. def withLogger(logger: CacheLogger): FileCache[F]

    Permalink
  46. def withPool(pool: ExecutorService): FileCache[F]

    Permalink
  47. def withRetry(retry: Int): FileCache[F]

    Permalink
  48. def withSchedulable[G[_]](implicit S0: Schedulable[G]): FileCache[G]

    Permalink
  49. def withTtl(ttl: Option[Duration]): FileCache[F]

    Permalink

Inherited from Cache[F]

Inherited from PlatformCache[F]

Inherited from AnyRef

Inherited from Any

Ungrouped