final class EventSourcedImpl extends EventSourced
- Alphabetic
- By Inheritance
- EventSourcedImpl
- EventSourced
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new EventSourcedImpl(_system: ActorSystem, _services: Map[String, EventSourcedStatefulService], rootContext: Context)
Type Members
- trait AbstractContext extends EventSourcedContext
- class CommandContextImpl extends CommandContext with AbstractContext with AbstractClientActionContext with AbstractEffectContext with ActivatableContext
- class EventContextImpl extends EventSourcedContextImpl with EventContext
- class EventSourcedContextImpl extends EventSourcedContext with AbstractContext
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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
handle(in: Source[EventSourcedStreamIn, NotUsed]): Source[EventSourcedStreamOut, NotUsed]
The stream.
The stream. One stream will be established per active entity. Once established, the first message sent will be Init, which contains the entity ID, and, if the entity has previously persisted a snapshot, it will contain that snapshot. It will then send zero to many event messages, one for each event previously persisted. The entity is expected to apply these to its state in a deterministic fashion. Once all the events are sent, one to many commands are sent, with new commands being sent as new requests for the entity come in. The entity is expected to reply to each command with exactly one reply message. The entity should reply in order, and any events that the entity requests to be persisted the entity should handle itself, applying them to its own state, as if they had arrived as events when the event stream was being replayed on load.
- Definition Classes
- EventSourcedImpl → EventSourced
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()