object Cache
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Cache
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- var bufferSize: Int
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- lazy val default: File
- val defaultChecksums: Seq[Option[String]]
- val defaultConcurrentDownloadCount: Int
- lazy val defaultPool: ExecutorService
- lazy val defaultTtl: Option[Duration]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def fetch[F[_]](cache: File = default, cachePolicy: CachePolicy = CachePolicy.UpdateChanging, checksums: Seq[Option[String]] = defaultChecksums, logger: Option[Logger] = None, pool: ExecutorService = defaultPool, ttl: Option[Duration] = defaultTtl)(implicit S: Schedulable[F]): Content[F]
-
def
file[F[_]](artifact: Artifact, cache: File = default, cachePolicy: CachePolicy = CachePolicy.UpdateChanging, checksums: Seq[Option[String]] = defaultChecksums, logger: Option[Logger] = None, pool: ExecutorService = defaultPool, ttl: Option[Duration] = defaultTtl, retry: Int = 1, localArtifactsShouldBeCached: Boolean = false)(implicit S: Schedulable[F]): EitherT[F, FileError, File]
This method computes the task needed to get a file.
This method computes the task needed to get a file.
Retry only applies to coursier.FileError.WrongChecksum.
coursier.FileError.DownloadError is handled separately at downloading
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val ivy2Cache: IvyRepository
- lazy val ivy2Local: IvyRepository
- def localFile(url: String, cache: File, user: Option[String], localArtifactsShouldBeCached: Boolean): File
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parseChecksum(content: String): Option[BigInteger]
- def parseRawChecksum(content: Array[Byte]): Option[BigInteger]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
url(s: String): URL
Returns a
java.net.URLfors, possibly using the custom protocol handlers found under thecoursier.cache.protocolnamespace.Returns a
java.net.URLfors, possibly using the custom protocol handlers found under thecoursier.cache.protocolnamespace.E.g. URL
"test://abc.com/foo", having protocol"test", can be handled by aURLStreamHandlernamedcoursier.cache.protocol.TestHandler(protocol name gets capitalized, and suffixed withHandlerto get the class name). - def urlConnection(url0: String, authentication: Option[Authentication]): URLConnection
- def validateChecksum[F[_]](artifact: Artifact, sumType: String, cache: File, pool: ExecutorService, localArtifactsShouldBeCached: Boolean = false)(implicit S: Schedulable[F]): EitherT[F, FileError, Unit]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def withContent(is: InputStream, f: (Array[Byte], Int) ⇒ Unit): Unit
- def withLockFor[T](cache: File, file: File)(f: ⇒ Either[FileError, T]): Either[FileError, T]
- object Dangerous