Object

com.rbmhtechnology.eventuate

EventsourcingProtocol

Related Doc: package eventuate

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. case class Delete(toSequenceNr: Long, remoteLogIds: Set[String] = Set.empty) extends Product with Serializable

    Permalink

    Instructs an event log to delete events with a sequence nr less or equal a given one.

    Instructs an event log to delete events with a sequence nr less or equal a given one. Deleted events are not replayed any more, however depending on the log implementation and remoteLogIds they might still be replicated.

    toSequenceNr

    All events with a less or equal sequence nr are not replayed any more.

    remoteLogIds

    A set of remote log ids that must have replicated events before they are allowed to be physically deleted.

  2. case class DeleteFailure(cause: Throwable) extends Product with Serializable

    Permalink

    Failure reply after a Delete

  3. case class DeleteSnapshots(lowerSequenceNr: Long) extends Product with Serializable

    Permalink

    Instructs an event log to delete all snapshots with a sequence number greater than or equal to lowerSequenceNr.

  4. case class DeleteSnapshotsFailure(cause: Throwable) extends Product with Serializable

    Permalink

    Failure reply after a DeleteSnapshots.

  5. case class DeleteSuccess(deletedTo: Long) extends Product with Serializable

    Permalink

    Success reply after a Delete

    Success reply after a Delete

    deletedTo

    The actually written deleted to marker. Minimum of Delete.toSequenceNr and the current sequence nr

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

    Permalink

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

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

    Permalink

    Failure reply after a LoadSnapshot.

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

    Permalink

    Success reply after a LoadSnapshot.

  9. case class Replay(fromSequenceNr: Long, max: Int, subscriber: Option[ActorRef], aggregateId: Option[String], instanceId: Int) extends Product with Serializable

    Permalink

    Instructs an event log to read up to max events starting at fromSequenceNr.

    Instructs an event log to read up to max events starting at fromSequenceNr. If aggregateId is defined, only those events that have the aggregate id in their destinationAggregateIds are returned.

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

    Permalink

    Failure reply after a Replay.

  11. case class ReplaySuccess(events: Seq[DurableEvent], replayProgress: Long, instanceId: Int) extends DurableEventBatch with Product with Serializable

    Permalink

    Success reply after a Replay.

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

    Permalink

    Instructs an event log to save the given snapshot.

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

    Permalink

    Failure reply after a SaveSnapshot.

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

    Permalink

    Success reply after a SaveSnapshot.

  15. case class Write(events: Seq[DurableEvent], initiator: ActorRef, replyTo: ActorRef, correlationId: Int, instanceId: Int) extends UpdateableEventBatch[Write] with Product with Serializable

    Permalink

    Instructs an event log to write the given events.

  16. case class WriteFailure(events: Seq[DurableEvent], cause: Throwable, correlationId: Int, instanceId: Int) extends Product with Serializable

    Permalink

    Failure reply after a Write.

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

    Permalink

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

  18. case class WriteSuccess(events: Seq[DurableEvent], correlationId: Int, instanceId: Int) extends Product with Serializable

    Permalink

    Success reply after a Write.

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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object DeleteSnapshotsSuccess extends Product with Serializable

    Permalink

    Success reply after a DeleteSnapshots.

  5. object Replay extends Serializable

    Permalink
  6. object WriteNComplete extends Product with Serializable

    Permalink

    Completion reply after a WriteN.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped