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: Sync[F]

    Permalink
  5. def addCredentials(credentials: Credentials*): FileCache[F]

    Permalink
  6. def addFileCredentials(credentialFile: File): FileCache[F]

    Permalink
  7. def allCredentials: F[Seq[DirectCredentials]]

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def bufferSize: Int

    Permalink
  10. def cachePolicies: Seq[CachePolicy]

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

    Permalink
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def credentials: Seq[Credentials]

    Permalink
  14. lazy val ec: ExecutionContextExecutorService

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

    Permalink
    Definition Classes
    AnyRef
  16. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    FileCache → AnyRef → Any
  17. 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
  18. 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
  19. def file(artifact: Artifact, retry: Int): EitherT[F, ArtifactError, File]

    Permalink
  20. def file(artifact: 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
  21. def finalize(): Unit

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

    Permalink
  23. def followHttpsToHttpRedirections: Boolean

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

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

    Permalink
    Definition Classes
    FileCache → AnyRef → Any
  26. def hostnameVerifierOpt: Option[HostnameVerifier]

    Permalink
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. def localArtifactsShouldBeCached: Boolean

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

    Permalink
  30. def location: File

    Permalink
  31. def logger: CacheLogger

    Permalink
  32. def loggerOpt: Some[CacheLogger]

    Permalink
    Definition Classes
    FileCacheCache
  33. def maxRedirections: Option[Int]

    Permalink
  34. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. def noCredentials: FileCache[F]

    Permalink
  36. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  38. def pool: ExecutorService

    Permalink
  39. def retry: Int

    Permalink
  40. def sslRetry: Int

    Permalink
  41. def sslSocketFactoryOpt: Option[SSLSocketFactory]

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

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

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

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

    Permalink
  46. final def wait(): Unit

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

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

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

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

    Permalink
  51. def withCredentials(credentials: Seq[Credentials]): FileCache[F]

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

    Permalink
  53. def withFollowHttpsToHttpRedirections(followHttpsToHttpRedirections: Boolean): FileCache[F]

    Permalink
  54. def withHostnameVerifier(hostnameVerifier: HostnameVerifier): FileCache[F]

    Permalink
  55. def withHostnameVerifierOpt(hostnameVerifierOpt: Option[HostnameVerifier]): FileCache[F]

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

    Permalink
  57. def withLocation(location: String): FileCache[F]

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

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

    Permalink
  60. def withMaxRedirections(maxOpt: Option[Int]): FileCache[F]

    Permalink
  61. def withMaxRedirections(max: Int): FileCache[F]

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

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

    Permalink
  64. def withSslRetry(sslRetry: Int): FileCache[F]

    Permalink
  65. def withSslSocketFactory(sslSocketFactory: SSLSocketFactory): FileCache[F]

    Permalink
  66. def withSslSocketFactoryOpt(sslSocketFactoryOpt: Option[SSLSocketFactory]): FileCache[F]

    Permalink
  67. def withSync[G[_]](implicit S0: Sync[G]): FileCache[G]

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

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

    Permalink

Inherited from Cache[F]

Inherited from PlatformCache[F]

Inherited from AnyRef

Inherited from Any

Ungrouped