Packages

final class MockCache[F[_]] 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. Protected

Instance Constructors

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

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 canEqual(obj: Any): Boolean
    Definition Classes
    MockCache → Equals
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. val dummyArtifact: (Artifact) => Boolean
  10. lazy val ec: ExecutionContextExecutorService
    Definition Classes
    MockCacheCache
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(obj: Any): Boolean
    Definition Classes
    MockCache → Equals → AnyRef → Any
  13. val extraData: Seq[Path]
  14. def fetch: Fetch[F]

    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
    MockCacheCache
  15. def fetchs: Seq[Fetch[F]]

    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
    Cache
  16. 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
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    MockCache → AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def loggerOpt: Option[CacheLogger]
    Definition Classes
    Cache
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. val pool: ExecutorService
  26. def productArity: Int
    Definition Classes
    MockCache → Product
  27. def productElement(n: Int): Any
    Definition Classes
    MockCache → Product
  28. def productElementName(n: Int): String
    Definition Classes
    MockCache → Product
  29. def productElementNames: Iterator[String]
    Definition Classes
    Product
  30. def productIterator: Iterator[Any]
    Definition Classes
    Product
  31. def productPrefix: String
    Definition Classes
    MockCache → Product
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    MockCache → AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. def withBase(base: Path): MockCache[F]
  38. def withDummyArtifact(dummyArtifact: (Artifact) => Boolean): MockCache[F]
  39. def withExtraData(extraData: Seq[Path]): MockCache[F]
  40. def withPool(pool: ExecutorService): MockCache[F]
  41. def withS(S: Sync[F]): MockCache[F]
  42. def withWriteMissing(writeMissing: Boolean): MockCache[F]
  43. 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