final class FileCache[F[_]] extends Cache[F] with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, Cache[F], PlatformCache[F], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileCache
  2. Serializable
  3. Product
  4. Equals
  5. Cache
  6. PlatformCache
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FileCache(location: File)(implicit sync: Sync[F])
  2. new FileCache(location: File, cachePolicies: Seq[CachePolicy], checksums: Seq[Option[String]], credentials: Seq[Credentials], logger: CacheLogger, pool: ExecutorService, ttl: Option[Duration], localArtifactsShouldBeCached: Boolean, followHttpToHttpsRedirections: Boolean, followHttpsToHttpRedirections: Boolean, maxRedirections: Option[Int], sslRetry: Int, sslSocketFactoryOpt: Option[SSLSocketFactory], hostnameVerifierOpt: Option[HostnameVerifier], retry: Int, bufferSize: Int)(implicit sync: Sync[F])
  3. new FileCache(location: File, cachePolicies: Seq[CachePolicy], checksums: Seq[Option[String]], credentials: Seq[Credentials], logger: CacheLogger, pool: ExecutorService, ttl: Option[Duration], localArtifactsShouldBeCached: Boolean, followHttpToHttpsRedirections: Boolean, followHttpsToHttpRedirections: Boolean, maxRedirections: Option[Int], sslRetry: Int, sslSocketFactoryOpt: Option[SSLSocketFactory], hostnameVerifierOpt: Option[HostnameVerifier], retry: Int, bufferSize: Int, classLoaders: Seq[ClassLoader])(implicit sync: Sync[F])
  4. new FileCache(location: File, cachePolicies: Seq[CachePolicy], checksums: Seq[Option[String]], credentials: Seq[Credentials], logger: CacheLogger, pool: ExecutorService, ttl: Option[Duration], localArtifactsShouldBeCached: Boolean, followHttpToHttpsRedirections: Boolean, followHttpsToHttpRedirections: Boolean, maxRedirections: Option[Int], sslRetry: Int, sslSocketFactoryOpt: Option[SSLSocketFactory], hostnameVerifierOpt: Option[HostnameVerifier], retry: Int, bufferSize: Int, classLoaders: Seq[ClassLoader], clock: Clock)(implicit sync: Sync[F])

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. def addCredentials(credentials: Credentials*): FileCache[F]
  5. def addFileCredentials(credentialFile: File): FileCache[F]
  6. def allCredentials: F[Seq[DirectCredentials]]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val bufferSize: Int
  9. val cachePolicies: Seq[CachePolicy]
  10. def canEqual(obj: Any): Boolean
    Definition Classes
    FileCache → Equals
  11. val checksums: Seq[Option[String]]
  12. val classLoaders: Seq[ClassLoader]
  13. val clock: Clock
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  15. val credentials: Seq[Credentials]
  16. lazy val ec: ExecutionContextExecutorService
    Definition Classes
    FileCacheCache
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(obj: Any): Boolean
    Definition Classes
    FileCache → Equals → AnyRef → Any
  19. def fetch: Fetch[F]

    Method to fetch an Artifact.

    Method to fetch an Artifact.

    Note that this method tries all the coursier.cache.CachePolicy ies 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
  20. def fetchs: Seq[Fetch[F]]

    Sequence of Fetch able to fetch an Artifact.

    Sequence of Fetch able to fetch an Artifact.

    Each element correspond to a coursier.cache.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
  21. def file(artifact: Artifact, retry: Int): EitherT[F, ArtifactError, File]
  22. def file(artifact: Artifact): EitherT[F, ArtifactError, File]

    This method computes the task needed to get a file.

    This method computes the task needed to get a file.

    Definition Classes
    FileCachePlatformCache
  23. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  24. val followHttpToHttpsRedirections: Boolean
  25. val followHttpsToHttpRedirections: Boolean
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def hashCode(): Int
    Definition Classes
    FileCache → AnyRef → Any
  28. val hostnameVerifierOpt: Option[HostnameVerifier]
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. val localArtifactsShouldBeCached: Boolean
  31. def localFile(url: String, user: Option[String] = scala.None): File
  32. val location: File
  33. val logger: CacheLogger
  34. def loggerOpt: Some[CacheLogger]
    Definition Classes
    FileCacheCache
  35. val maxRedirections: Option[Int]
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. def noCredentials: FileCache[F]
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. val pool: ExecutorService
  41. def productArity: Int
    Definition Classes
    FileCache → Product
  42. def productElement(n: Int): Any
    Definition Classes
    FileCache → Product
  43. def productElementName(n: Int): String
    Definition Classes
    FileCache → Product
  44. def productElementNames: Iterator[String]
    Definition Classes
    Product
  45. def productIterator: Iterator[Any]
    Definition Classes
    Product
  46. def productPrefix: String
    Definition Classes
    FileCache → Product
  47. val retry: Int
  48. val sslRetry: Int
  49. val sslSocketFactoryOpt: Option[SSLSocketFactory]
  50. implicit val sync: Sync[F]
  51. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  52. def toString(): String
    Definition Classes
    FileCache → AnyRef → Any
  53. val ttl: Option[Duration]
  54. def validateChecksum(artifact: Artifact, sumType: String): EitherT[F, ArtifactError, Unit]
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  58. def withBufferSize(bufferSize: Int): FileCache[F]
  59. def withCachePolicies(cachePolicies: Seq[CachePolicy]): FileCache[F]
  60. def withChecksums(checksums: Seq[Option[String]]): FileCache[F]
  61. def withClassLoaders(classLoaders: Seq[ClassLoader]): FileCache[F]
  62. def withClock(clock: Clock): FileCache[F]
  63. def withCredentials(credentials: Seq[Credentials]): FileCache[F]
  64. def withFollowHttpToHttpsRedirections(followHttpToHttpsRedirections: Boolean): FileCache[F]
  65. def withFollowHttpsToHttpRedirections(followHttpsToHttpRedirections: Boolean): FileCache[F]
  66. def withHostnameVerifier(hostnameVerifier: HostnameVerifier): FileCache[F]
  67. def withHostnameVerifierOpt(hostnameVerifierOpt: Option[HostnameVerifier]): FileCache[F]
  68. def withLocalArtifactsShouldBeCached(localArtifactsShouldBeCached: Boolean): FileCache[F]
  69. def withLocation(location: File): FileCache[F]
  70. def withLocation(location: String): FileCache[F]
  71. def withLogger(logger: CacheLogger): FileCache[F]
  72. def withMaxRedirections(maxRedirections: Option[Int]): FileCache[F]
  73. def withMaxRedirections(max: Int): FileCache[F]
  74. def withPool(pool: ExecutorService): FileCache[F]
  75. def withRetry(retry: Int): FileCache[F]
  76. def withSslRetry(sslRetry: Int): FileCache[F]
  77. def withSslSocketFactory(sslSocketFactory: SSLSocketFactory): FileCache[F]
  78. def withSslSocketFactoryOpt(sslSocketFactoryOpt: Option[SSLSocketFactory]): FileCache[F]
  79. def withSync(sync: Sync[F]): FileCache[F]
  80. def withTtl(ttl: Option[Duration]): FileCache[F]
  81. def withTtl(ttl: Duration): FileCache[F]

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Cache[F]

Inherited from PlatformCache[F]

Inherited from AnyRef

Inherited from Any

Ungrouped