org.eligosource.eventsourced.core

JournalProtocol

object JournalProtocol

Defines message types that can be processed by a journal actor.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JournalProtocol
  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 BatchDeliverOutMsgs(channels: Seq[ActorRef]) extends Product with Serializable

    Instructs a Journal to initiate message delivery for channels.

  2. case class BatchReplayInMsgs(replays: Seq[ReplayInMsgs]) extends ReadCommand with Product with Serializable

    Instructs a Journal to batch-replay input messages to multiple Eventsourced processors.

  3. case class DeleteOutMsg(channelId: Int, msgSequenceNr: Long) extends Product with Serializable

    Instructs a Journal to delete an output message that has been previously written by a ReliableChannel.

  4. case class Loop(msg: Any, target: ActorRef) extends Product with Serializable

    Instructs a Journal to forward msg to target wrapped in a org.eligosource.eventsourced.core.JournalProtocol.Looped message.

  5. case class Looped(msg: Any) extends Product with Serializable

    Message wrapper used by the org.eligosource.eventsourced.core.JournalProtocol.Loop command.

  6. sealed trait ReadCommand extends AnyRef

  7. case class ReplayInMsgs(params: ReplayParams, target: ActorRef) extends ReadCommand with Product with Serializable

    Instructs a Journal to replay input messages to a single Eventsourced processor.

  8. case class ReplayOutMsgs(channelId: Int, fromSequenceNr: Long, toSequenceNr: Long, target: ActorRef) extends ReadCommand with Product with Serializable

    Instructs a Journal to replay output messages for a single ReliableChannel.

  9. case class RequestSnapshot(processorId: Int, target: ActorRef) extends Product with Serializable

    Instructs a journal to request a state snapshot from a processor identified by processorId.

  10. case class SaveSnapshot(snapshot: Snapshot) extends Product with Serializable

    Instructs a journal to save the provided snapshot.

  11. case class SaveSnapshotDone(metadata: SnapshotSaved, initiator: ActorRef) extends Product with Serializable

    Event received by journal when a snapshot has been successfully saved.

  12. case class SaveSnapshotFailed(cause: Throwable, initiator: ActorRef) extends Product with Serializable

    Event received by journal when a snapshot could not be successfully saved.

  13. case class WriteAck(processorId: Int, channelId: Int, ackSequenceNr: Long) extends Product with Serializable

    Instructs a Journal to write an acknowledgement.

  14. case class WriteInMsg(processorId: Int, message: Message, target: ActorRef, genSequenceNr: Boolean = true) extends Product with Serializable

    Instructs a Journal to write an input message.

  15. case class WriteOutMsg(channelId: Int, message: Message, ackProcessorId: Int, ackSequenceNr: Long, target: ActorRef, genSequenceNr: Boolean = true) extends Product with Serializable

    Instructs a Journal to write an output message.

  16. case class Written(msg: Message) extends Product with Serializable

    Message sent to targets after processing org.eligosource.eventsourced.core.JournalProtocol.WriteInMsg, org.eligosource.eventsourced.core.JournalProtocol.WriteOutMsg, org.eligosource.eventsourced.core.JournalProtocol.BatchReplayInMsgs, org.eligosource.eventsourced.core.JournalProtocol.ReplayInMsgs and org.eligosource.eventsourced.core.JournalProtocol.ReplayOutMsgs commands.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object DeliveryDone extends Product with Serializable

    Response from a journal when message delivery by channels has been initiated.

  7. object ReplayDone extends Product with Serializable

    Response from a journal to a sender when input message replay has been completed.

  8. object ReplayInMsgs extends Serializable

  9. object ReplayOutMsgs extends Serializable

  10. val SkipAck: Long

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped