Class/Object

coursier.cache

FileCache

Related Docs: object FileCache | package cache

Permalink

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

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

Instance Constructors

  1. new FileCache(location: File)(implicit S: Sync[F])

    Permalink
  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 S: Sync[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. implicit val 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. val bufferSize: Int

    Permalink
  10. val cachePolicies: Seq[CachePolicy]

    Permalink
  11. def canEqual(obj: Any): Boolean

    Permalink
    Definition Classes
    FileCache → Equals
  12. val checksums: Seq[Option[String]]

    Permalink
  13. def clone(): AnyRef

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

    Permalink
  15. lazy val ec: ExecutionContextExecutorService

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

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

    Permalink
    Definition Classes
    FileCache → Equals → AnyRef → Any
  18. def fetch: Fetch[F]

    Permalink

    Method to fetch an Artifact.

    Method to fetch an Artifact.

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

    Permalink

    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
  20. def file(artifact: Artifact, retry: Int): EitherT[F, ArtifactError, File]

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

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

    Permalink
  24. val followHttpsToHttpRedirections: Boolean

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

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

    Permalink
    Definition Classes
    FileCache → AnyRef → Any
  27. val hostnameVerifierOpt: Option[HostnameVerifier]

    Permalink
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. val localArtifactsShouldBeCached: Boolean

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

    Permalink
  31. val location: File

    Permalink
  32. val logger: CacheLogger

    Permalink
  33. def loggerOpt: Some[CacheLogger]

    Permalink
    Definition Classes
    FileCacheCache
  34. val maxRedirections: Option[Int]

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

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

    Permalink
  37. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  39. val pool: ExecutorService

    Permalink
  40. def productArity: Int

    Permalink
    Definition Classes
    FileCache → Product
  41. def productElement(n: Int): Any

    Permalink
    Definition Classes
    FileCache → Product
  42. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  43. def productPrefix: String

    Permalink
    Definition Classes
    Product
  44. val retry: Int

    Permalink
  45. val sslRetry: Int

    Permalink
  46. val sslSocketFactoryOpt: Option[SSLSocketFactory]

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

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

    Permalink
    Definition Classes
    FileCache → AnyRef → Any
  49. val ttl: Option[Duration]

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

    Permalink
  51. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. def withBufferSize(bufferSize: Int): FileCache[F]

    Permalink
  55. def withCachePolicies(cachePolicies: Seq[CachePolicy]): FileCache[F]

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

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

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

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

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

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

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

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

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

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

    Permalink
  66. def withMaxRedirections(maxRedirections: Option[Int]): FileCache[F]

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

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

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

    Permalink
  70. def withS(S: Sync[F]): FileCache[F]

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

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

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

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

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

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Cache[F]

Inherited from PlatformCache[F]

Inherited from AnyRef

Inherited from Any

Ungrouped