final class FileCache[F[_]] extends Cache[F]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FileCache
- Cache
- PlatformCache
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new FileCache(params: Params[F])
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
- def S: Sync[F]
- def addCredentials(credentials: Credentials*): FileCache[F]
- def addFileCredentials(credentialFile: File): FileCache[F]
- def allCredentials: F[Seq[DirectCredentials]]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bufferSize: Int
- def cachePolicies: Seq[CachePolicy]
- def checksums: Seq[Option[String]]
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def credentials: Seq[Credentials]
- lazy val ec: ExecutionContextExecutorService
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(obj: Any): Boolean
- Definition Classes
- FileCache → AnyRef → Any
- def fetch: Fetch[F]
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 thanfor (repo <- repositories, policy <- policies) …). You should use the fetchs method in that case. - def fetchs: Seq[Fetch[F]]
Sequence of Repository.Fetch able to fetch an Artifact.
- def file(artifact: Artifact, retry: Int): EitherT[F, ArtifactError, File]
- 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
- FileCache → PlatformCache
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def followHttpToHttpsRedirections: Boolean
- def followHttpsToHttpRedirections: Boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- FileCache → AnyRef → Any
- def hostnameVerifierOpt: Option[HostnameVerifier]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def localArtifactsShouldBeCached: Boolean
- def localFile(url: String, user: Option[String] = None): File
- def location: File
- def logger: CacheLogger
- def loggerOpt: Some[CacheLogger]
- def maxRedirections: Option[Int]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noCredentials: FileCache[F]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def pool: ExecutorService
- def retry: Int
- def sslRetry: Int
- def sslSocketFactoryOpt: Option[SSLSocketFactory]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- FileCache → AnyRef → Any
- def ttl: Option[Duration]
- def validateChecksum(artifact: Artifact, sumType: String): EitherT[F, ArtifactError, Unit]
- 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()
- def withCachePolicies(cachePolicies: Seq[CachePolicy]): FileCache[F]
- def withChecksums(checksums: Seq[Option[String]]): FileCache[F]
- def withCredentials(credentials: Seq[Credentials]): FileCache[F]
- def withFollowHttpToHttpsRedirections(followHttpToHttpsRedirections: Boolean): FileCache[F]
- def withFollowHttpsToHttpRedirections(followHttpsToHttpRedirections: Boolean): FileCache[F]
- def withHostnameVerifier(hostnameVerifier: HostnameVerifier): FileCache[F]
- def withHostnameVerifierOpt(hostnameVerifierOpt: Option[HostnameVerifier]): FileCache[F]
- def withLocalArtifactsShouldBeCached(localArtifactsShouldBeCached: Boolean): FileCache[F]
- def withLocation(location: String): FileCache[F]
- def withLocation(location: File): FileCache[F]
- def withLogger(logger: CacheLogger): FileCache[F]
- def withMaxRedirections(maxOpt: Option[Int]): FileCache[F]
- def withMaxRedirections(max: Int): FileCache[F]
- def withPool(pool: ExecutorService): FileCache[F]
- def withRetry(retry: Int): FileCache[F]
- def withSslRetry(sslRetry: Int): FileCache[F]
- def withSslSocketFactory(sslSocketFactory: SSLSocketFactory): FileCache[F]
- def withSslSocketFactoryOpt(sslSocketFactoryOpt: Option[SSLSocketFactory]): FileCache[F]
- def withSync[G[_]](implicit S0: Sync[G]): FileCache[G]
- def withTtl(ttl: Duration): FileCache[F]
- def withTtl(ttl: Option[Duration]): FileCache[F]