com.rbmhtechnology.eventuate

EventsourcingProtocol

object EventsourcingProtocol

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EventsourcingProtocol
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class LoadSnapshot(emitterId: String, requestor: ActorRef, instanceId: Int) extends Product with Serializable

    Instructs an event log to load the most recent snapshot for requestor identified by emitterId.

  2. case class LoadSnapshotFailure(cause: Throwable, instanceId: Int) extends Product with Serializable

    Failure reply after a LoadSnapshot.

  3. case class LoadSnapshotSuccess(snapshot: Option[Snapshot], instanceId: Int) extends Product with Serializable

    Success reply after a LoadSnapshot.

  4. case class Replay(from: Long, requestor: ActorRef, aggregateId: Option[String], instanceId: Int) extends Product with Serializable

    Instructs an event log to replay events from sequence number from to the given requestor.

    Instructs an event log to replay events from sequence number from to the given requestor. Replayed events are sent within Replaying messages. If replay successfully completes the event log must additionally send a ReplaySuccess message, otherwise, a ReplayFailure message.

    If aggregateId is defined, only events with a matching aggregateId are replayed, otherwise, all events.

  5. case class ReplayFailure(cause: Throwable, instanceId: Int) extends Product with Serializable

    Failure reply after a Replay.

  6. case class ReplaySuccess(instanceId: Int) extends Product with Serializable

    Success reply after a Replay, sent when all Replaying messages have been sent.

  7. case class Replaying(event: DurableEvent, instanceId: Int) extends Product with Serializable

    Single event replay after a Replay.

  8. case class SaveSnapshot(snapshot: Snapshot, initiator: ActorRef, requestor: ActorRef, instanceId: Int) extends Product with Serializable

    Instructs an event log to save the given snapshot.

  9. case class SaveSnapshotFailure(metadata: SnapshotMetadata, cause: Throwable, instanceId: Int) extends Product with Serializable

    Failure reply after a SaveSnapshot.

  10. case class SaveSnapshotSuccess(metadata: SnapshotMetadata, instanceId: Int) extends Product with Serializable

    Success reply after a SaveSnapshot.

  11. case class Write(events: Seq[DurableEvent], initiator: ActorRef, requestor: ActorRef, instanceId: Int) extends Product with Serializable

    Instructs an event log to write the given events and send the written events one-by-one to the given requestor.

    Instructs an event log to write the given events and send the written events one-by-one to the given requestor. In case of a successful write, events are sent within WriteSuccess messages, otherwise within WriteFailure messages with initiator as message sender.

  12. case class WriteFailure(event: DurableEvent, cause: Throwable, instanceId: Int) extends Product with Serializable

    Failure reply after a Write.

  13. case class WriteN(writes: Seq[Write]) extends Product with Serializable

    Instructs an event log to batch-execute the given writes.

  14. case class WriteSuccess(event: DurableEvent, instanceId: Int) extends Product with Serializable

    Success reply after a Write.

  15. case class Written(event: DurableEvent) extends Product with Serializable

    Sent by an event log to all registered participants, if event has been successfully written.

    Sent by an event log to all registered participants, if event has been successfully written. This message is not sent to a participant if that participant has sent a corresponding Write.

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. object Replay extends Serializable

  5. object WriteNComplete extends Product with Serializable

    Completion reply after a WriteN.

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped