Package

fetch

Permalink

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

    Permalink
  2. trait Data[I, A] extends AnyRef

    Permalink

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

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

    Permalink

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

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

    Permalink

    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

    Permalink
  6. final class DataSourceResult extends AnyVal

    Permalink
  7. sealed trait Fetch[F[_], A] extends AnyRef

    Permalink
  8. sealed trait FetchException extends Throwable with NoStackTrace

    Permalink
  9. case class FetchLog(q: Queue[Round] = Queue.empty) extends Log with Product with Serializable

    Permalink

    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

    Permalink

    A cache that stores its elements in memory.

  11. trait Log extends AnyRef

    Permalink

    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

    Permalink
  13. case class Request(request: FetchRequest, start: Long, end: Long) extends Product with Serializable

    Permalink

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

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

    Permalink

    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

    Permalink

Value Members

  1. object Data

    Permalink
  2. object Fetch

    Permalink
  3. object InMemoryCache extends Serializable

    Permalink
  4. object InParallel extends BatchExecution with Product with Serializable

    Permalink
  5. object Sequentially extends BatchExecution with Product with Serializable

    Permalink
  6. implicit def fetchM[F[_]](implicit arg0: Monad[F]): Monad[[β$0$]Fetch[F, β$0$]]

    Permalink
  7. def runCombinationResult[F[_]](comb: CombinationTailRec[F], status: FetchStatus)(implicit arg0: Monad[F]): F[Unit]

    Permalink
  8. object syntax

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped