package eff

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

Type Members

  1. type /=[M[_], R] = MemberInOut[M, R]
  2. type <=[M[_], R] = Member[M, R]
  3. case class ExecutorServices(executorServiceEval: Eval[ExecutorService], scheduledExecutorEval: Eval[ScheduledExecutorService], executionContextEval: Eval[ExecutionContext]) extends Product with Serializable
  4. trait FutureCreation extends FutureTypes
  5. trait FutureEffect extends FutureCreation with FutureInterpretation
  6. trait FutureInterpretation extends FutureTypes
  7. trait FutureTypes extends AnyRef
  8. case class GetCache() extends Memoized[Cache] with Product with Serializable
  9. trait MemoCreation extends MemoTypes
  10. trait MemoEffect extends MemoTypes with MemoCreation with MemoInterpretation

    Memoization effect

    Memoization effect

    Memoize a computation for a given key

    This effect can be interpreted with a cache implemented with many different libraries. See Cache.scala for 2 default implementations:

    • one concurrent hashmap (meaning an unbounded cache)
    • one concurrent hashmap with weak references (to evict entries based on garbage collection)

    You can implement your own version using ScalaCache for example

  11. trait MemoInterpretation extends MemoTypes
  12. trait MemoTypes extends AnyRef
  13. sealed trait Memoized[A] extends AnyRef
  14. case class Store[A](key: AnyRef, a: () ⇒ A) extends Memoized[A] with Product with Serializable
  15. final case class TimedFuture[A](callback: (Scheduler, ExecutionContext) ⇒ Future[A], timeout: Option[FiniteDuration] = None) extends Product with Serializable
  16. type |=[M[_], R] = MemberIn[M, R]

Inherited from AnyRef

Inherited from Any

Ungrouped