object DurableEntityT
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DurableEntityT
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- 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 asread
) and set (exposed aswrite
) - sealed trait State[+S] extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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$]]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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
: thecreateEntity
creator for entity algebra can thus be injected with an instance ofDurableEntity[F[_]]
interpreted with DurableEntityT[F, S, *] - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def liftF[F[_], S, A](fa: F[A])(implicit arg0: Applicative[F]): DurableEntityT[F, S, A]
- implicit def liftK[F[_], S](implicit arg0: Applicative[F]): ~>[F, [γ$0$]IndexedStateT[F, State[S], State[S], γ$0$]]
- implicit def loggerForDurableEntityT[F[_], S](implicit arg0: Applicative[F], logger: Logger[F]): Logger[[γ$8$]IndexedStateT[F, State[S], State[S], γ$8$]]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def stateModifier[F[_], S](f: (S) => S)(implicit arg0: Applicative[F]): DurableEntityT[F, S, Unit]
- def stateModifierF[F[_], S](f: (S) => F[S])(implicit arg0: Applicative[F]): DurableEntityT[F, S, Unit]
- def stateReader[F[_], S](implicit arg0: Applicative[F]): DurableEntityT[F, S, Option[S]]
- def stateWriter[F[_], S](state: S)(implicit arg0: Applicative[F]): DurableEntityT[F, S, Unit]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unit[F[_], S](implicit arg0: Applicative[F]): DurableEntityT[F, S, Unit]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object State
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)