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
- @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(cache: File = default, cachePolicy: CachePolicy = CachePolicy.UpdateChanging, checksums: Seq[Option[String]] = defaultChecksums, logger: Option[Logger] = None, pool: ExecutorService = defaultPool, ttl: Option[Duration] = defaultTtl): Content[Task]
- def file(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): EitherT[Task, FileError, File]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
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]): File
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def parseChecksum(content: String): Option[BigInteger]
- def parseRawChecksum(content: Array[Byte]): Option[BigInteger]
- def readFullySync(is: InputStream): Array[Byte]
-
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.URL
fors
, possibly using the custom protocol handlers found under thecoursier.cache.protocol
namespace.Returns a
java.net.URL
fors
, possibly using the custom protocol handlers found under thecoursier.cache.protocol
namespace.E.g. URL
"test://abc.com/foo"
, having protocol"test"
, can be handled by aURLStreamHandler
namedcoursier.cache.protocol.TestHandler
(protocol name gets capitalized, and suffixed withHandler
to get the class name). - def urlConnection(url0: String, authentication: Option[Authentication]): URLConnection
- def validateChecksum(artifact: Artifact, sumType: String, cache: File, pool: ExecutorService): EitherT[Task, 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
- @throws( ... )
- def withContent(is: InputStream, f: (Array[Byte], Int) ⇒ Unit): Unit
- def withLockFor[T](cache: File, file: File)(f: ⇒ \/[FileError, T]): \/[FileError, T]
- object Logger