Packages

final case class MockCache[F[_]](base: Path, extraData: Seq[Path], writeMissing: Boolean, pool: ExecutorService, S: Sync[F], dummyArtifact: (Artifact) => Boolean = _ => false) 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. MockCache
  2. Serializable
  3. Product
  4. Equals
  5. Cache
  6. PlatformCache
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MockCache(base: Path, extraData: Seq[Path], writeMissing: Boolean, pool: ExecutorService, S: Sync[F], dummyArtifact: (Artifact) => Boolean = _ => false)

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. val S: Sync[F]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val base: Path
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val dummyArtifact: (Artifact) => Boolean
  9. lazy val ec: ExecutionContextExecutorService
    Definition Classes
    MockCacheCache
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. val extraData: Seq[Path]
  12. 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 than for (repo <- repositories, policy <- policies) …). You should use the fetchs method in that case.

    Definition Classes
    MockCacheCache
  13. def fetchs: Seq[Fetch[F]]

    Sequence of Repository.Fetch able to fetch an Artifact.

    Sequence of Repository.Fetch able to fetch an Artifact.

    Each element correspond to a coursier.CachePolicy of this Cache. You may want to pass each of them to coursier.core.ResolutionProcess.fetch().

    returns

    a non empty sequence

    Definition Classes
    Cache
  14. 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
    MockCachePlatformCache
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def loggerOpt: Option[CacheLogger]
    Definition Classes
    Cache
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val pool: ExecutorService
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. val writeMissing: Boolean

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Cache[F]

Inherited from PlatformCache[F]

Inherited from AnyRef

Inherited from Any

Ungrouped