o

endless.core.interpret

DurableEntityT

object DurableEntityT

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

Type Members

  1. type DurableEntityT[F[_], S, A] = IndexedStateT[F, State[S], State[S], A]

    DurableEntityT[F, S, A] is a type alias for StateT monad transformer from cats.

    DurableEntityT[F, S, A] is a type alias for StateT monad transformer from cats. State is the state of the entity, which can be get (exposed as read) and set (exposed as write)

  2. sealed trait State[+S] extends AnyRef

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. implicit def clockForDurableEntityT[F[_], S](implicit arg0: Applicative[F], arg1: Clock[F], A0: Applicative[[γ$4$]IndexedStateT[F, State[S], State[S], γ$4$]]): Clock[[γ$5$]IndexedStateT[F, State[S], State[S], γ$5$]]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. implicit def instance[F[_], S](implicit arg0: Monad[F]): DurableEntity[[γ$1$]IndexedStateT[F, State[S], State[S], γ$1$], S]

    Given that a monad instance can be found for F, this provides an DurableEntityT transformer instance for it.

    Given that a monad instance can be found for F, this provides an DurableEntityT transformer instance for it. This is used by deployDurableEntity: the createEntity creator for entity algebra can thus be injected with an instance of DurableEntity[F[_]] interpreted with DurableEntityT[F, S, *]

  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def liftF[F[_], S, A](fa: F[A])(implicit arg0: Applicative[F]): DurableEntityT[F, S, A]
  14. implicit def liftK[F[_], S](implicit arg0: Applicative[F]): ~>[F, [γ$0$]IndexedStateT[F, State[S], State[S], γ$0$]]
  15. implicit def loggerForDurableEntityT[F[_], S](implicit arg0: Applicative[F], logger: Logger[F]): Logger[[γ$8$]IndexedStateT[F, State[S], State[S], γ$8$]]
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. def stateModifier[F[_], S](f: (S) => S)(implicit arg0: Applicative[F]): DurableEntityT[F, S, Unit]
  20. def stateModifierF[F[_], S](f: (S) => F[S])(implicit arg0: Applicative[F]): DurableEntityT[F, S, Unit]
  21. def stateReader[F[_], S](implicit arg0: Applicative[F]): DurableEntityT[F, S, Option[S]]
  22. def stateWriter[F[_], S](state: S)(implicit arg0: Applicative[F]): DurableEntityT[F, S, Unit]
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def unit[F[_], S](implicit arg0: Applicative[F]): DurableEntityT[F, S, Unit]
  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. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. object State

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped