p

fetch

package fetch

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. fetch
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait BatchExecution extends Product with Serializable
  2. trait Data[I, A] extends AnyRef

    Data is a trait used to identify and optimize access to a DataSource.

  3. trait DataCache[F[_]] extends AnyRef

    A Cache trait so the users of the library can provide their own cache.

  4. trait DataSource[F[_], I, A] extends AnyRef

    A DataSource is the recipe for fetching a certain identity I, which yields results of type A performing an effect of type F[_].

  5. final class DataSourceId extends AnyVal
  6. final class DataSourceResult extends AnyVal
  7. sealed trait Fetch[F[_], A] extends AnyRef
  8. sealed trait FetchException extends Throwable with NoStackTrace
  9. case class FetchLog(q: Queue[Round] = Queue.empty) extends Log with Product with Serializable

    A concrete implementation of Log used in Fetch.

  10. case class InMemoryCache[F[_]](state: Map[(Data[Any, Any], DataSourceId), DataSourceResult])(implicit evidence$1: Monad[F]) extends DataCache[F] with Product with Serializable

    A cache that stores its elements in memory.

  11. trait Log extends AnyRef

    A log that is passed along during the fetch rounds to record a fetch execution.

    A log that is passed along during the fetch rounds to record a fetch execution. It holds the a list of rounds that have been executed.

  12. final case class MissingIdentity[I, A](i: I, request: FetchQuery[I, A], log: Log) extends Throwable with FetchException with Product with Serializable
  13. case class Request(request: FetchRequest, start: Long, end: Long) extends Product with Serializable

    A data structure that holds information about a request inside a fetch round.

  14. case class Round(queries: List[Request]) extends Product with Serializable

    A data structure that holds information about a fetch round.

  15. final case class UnhandledException(e: Throwable, log: Log) extends Throwable with FetchException with Product with Serializable

Value Members

  1. implicit def fetchM[F[_]](implicit arg0: Monad[F]): Monad[[β$0$]Fetch[F, β$0$]]
  2. def runCombinationResult[F[_]](comb: CombinationTailRec[F], status: FetchStatus)(implicit arg0: Monad[F]): F[Unit]
  3. object Data
  4. object Fetch
  5. object InMemoryCache extends Serializable
  6. object InParallel extends BatchExecution with Product with Serializable
  7. object Sequentially extends BatchExecution with Product with Serializable
  8. object syntax

Inherited from AnyRef

Inherited from Any

Ungrouped