Trait

pl.newicom.dddd.process

Saga

Related Doc: package process

Permalink

trait Saga extends BusinessEntity with GracefulPassivation with PersistentActor with Deduplication with AtLeastOnceDelivery with ActorLogging

Linear Supertypes
ActorLogging, AtLeastOnceDelivery, AtLeastOnceDeliveryLike, Deduplication, PersistentActor, Eventsourced, PersistenceRecovery, PersistenceIdentity, StashFactory, Stash, RequiresMessageQueue[DequeBasedMessageQueueSemantics], UnrestrictedStash, StashSupport, Snapshotter, GracefulPassivation, Actor, BusinessEntity, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Saga
  2. ActorLogging
  3. AtLeastOnceDelivery
  4. AtLeastOnceDeliveryLike
  5. Deduplication
  6. PersistentActor
  7. Eventsourced
  8. PersistenceRecovery
  9. PersistenceIdentity
  10. StashFactory
  11. Stash
  12. RequiresMessageQueue
  13. UnrestrictedStash
  14. StashSupport
  15. Snapshotter
  16. GracefulPassivation
  17. Actor
  18. BusinessEntity
  19. AnyRef
  20. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

Abstract Value Members

  1. abstract def applyEvent: PartialFunction[DomainEvent, Unit]

    Permalink

    Event handler called on state transition

  2. abstract val pc: PassivationConfig

    Permalink
    Definition Classes
    GracefulPassivation
  3. abstract def receiveEvent: Receive

    Permalink

    Defines business process logic (state transitions).

    Defines business process logic (state transitions). State transition happens when raise(event) is called. No state transition indicates the current event message could have been received out-of-order.

Concrete 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. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Eventsourced → Actor
  5. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    AtLeastOnceDeliveryLike → Eventsourced → Actor
  6. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    AtLeastOnceDeliveryLike → Eventsourced → Actor
  7. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Eventsourced → Actor
  8. def aroundReceive(receive: Receive, msg: Any): Unit

    Permalink
    Definition Classes
    Saga → AtLeastOnceDeliveryLike → Eventsourced → Actor
  9. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def confirmDelivery(deliveryId: Long): Boolean

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  12. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  13. def deferAsync[A](event: A)(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
  14. def deleteMessages(toSequenceNr: Long): Unit

    Permalink
    Definition Classes
    Eventsourced
  15. def deleteSnapshot(sequenceNr: Long): Unit

    Permalink
    Definition Classes
    Snapshotter
  16. def deleteSnapshots(criteria: SnapshotSelectionCriteria): Unit

    Permalink
    Definition Classes
    Snapshotter
  17. def deliver(destination: ActorSelection)(deliveryIdToMessage: (Long) ⇒ Any): Unit

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  18. def deliver(destination: ActorPath)(deliveryIdToMessage: (Long) ⇒ Any): Unit

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  19. def deliverCommand(office: ActorPath, command: Command): Unit

    Permalink
  20. def deliverMsg(office: ActorPath, msg: Message): Unit

    Permalink
  21. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def eventMessage: EventMessage

    Permalink

    Event message being processed.

    Event message being processed. Not available during recovery

  24. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. def getDeliverySnapshot: AtLeastOnceDeliverySnapshot

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  27. def handleUnexpectedEvent(em: EventMessage): Unit

    Permalink
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  29. def id: String

    Permalink
    Definition Classes
    Saga → BusinessEntity
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. def journalPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  32. def lastSequenceNr: Long

    Permalink
    Definition Classes
    Eventsourced
  33. def loadSnapshot(persistenceId: String, criteria: SnapshotSelectionCriteria, toSequenceNr: Long): Unit

    Permalink
    Definition Classes
    Snapshotter
  34. def log: LoggingAdapter

    Permalink
    Definition Classes
    ActorLogging
  35. def maxUnconfirmedMessages: Int

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  36. def messageProcessed(m: Message): Unit

    Permalink
    Definition Classes
    Saga → Deduplication
  37. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  40. def numberOfUnconfirmed: Int

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  41. def onPersistFailure(cause: Throwable, event: Any, seqNr: Long): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Eventsourced
  42. def onPersistRejected(cause: Throwable, event: Any, seqNr: Long): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Eventsourced
  43. def onRecoveryFailure(cause: Throwable, event: Option[Any]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Eventsourced
  44. def persist[A](event: A)(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
  45. def persistAll[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
  46. def persistAllAsync[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
  47. def persistAsync[A](event: A)(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
  48. def persistenceId: String

    Permalink
    Definition Classes
    Saga → PersistenceIdentity
  49. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  50. def postStop(): Unit

    Permalink
    Definition Classes
    UnrestrictedStash → Actor
  51. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    UnrestrictedStash → Actor
  52. def preStart(): Unit

    Permalink
    Definition Classes
    GracefulPassivation → Actor
  53. def raise(em: EventMessage): Unit

    Permalink

    Triggers state transition

  54. def receive: Receive

    Permalink
    Definition Classes
    PersistentActor → Actor
  55. def receiveCommand: Receive

    Permalink
    Definition Classes
    Saga → Eventsourced
  56. def receiveDeliveryReceipt: Receive

    Permalink
  57. def receiveDuplicate(handleDuplicate: (Message) ⇒ Unit): akka.actor.Actor.Receive

    Permalink
    Definition Classes
    Deduplication
  58. def receiveRecover: Receive

    Permalink
    Definition Classes
    Saga → Eventsourced
  59. def receiveUnexpected: Receive

    Permalink
  60. def recovery: Recovery

    Permalink
    Definition Classes
    PersistenceRecovery
  61. def recoveryFinished: Boolean

    Permalink
    Definition Classes
    Eventsourced
  62. def recoveryRunning: Boolean

    Permalink
    Definition Classes
    Eventsourced
  63. def redeliverInterval: FiniteDuration

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  64. def redeliveryBurstLimit: Int

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  65. def sagaId: String

    Permalink
  66. def sagaOffice: ActorPath

    Permalink
  67. def saveSnapshot(snapshot: Any): Unit

    Permalink
    Definition Classes
    Snapshotter
  68. def schedule(event: DomainEvent, deadline: DateTime, correlationId: EntityId = sagaId): Unit

    Permalink
  69. def schedulingOffice: Option[ActorPath]

    Permalink
  70. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  71. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  72. def setDeliverySnapshot(snapshot: AtLeastOnceDeliverySnapshot): Unit

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  73. def snapshotPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  74. def snapshotSequenceNr: Long

    Permalink
    Definition Classes
    Eventsourced → Snapshotter
  75. def snapshotterId: String

    Permalink
    Definition Classes
    Eventsourced → Snapshotter
  76. def stash(): Unit

    Permalink
    Definition Classes
    StashSupport
  77. def supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    Actor
  78. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  80. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Eventsourced → Actor
  81. def unstashAll(): Unit

    Permalink
    Definition Classes
    Eventsourced → StashSupport
  82. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  85. def warnAfterNumberOfUnconfirmedAttempts: Int

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  86. def wasProcessed(m: Message): Boolean

    Permalink
    Definition Classes
    Deduplication

Deprecated Value Members

  1. def persist[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
    Annotations
    @deprecated
    Deprecated

    (Since version 2.4) use persistAll instead

  2. def persistAsync[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
    Annotations
    @deprecated
    Deprecated

    (Since version 2.4) use persistAllAsync instead

Inherited from ActorLogging

Inherited from AtLeastOnceDelivery

Inherited from AtLeastOnceDeliveryLike

Inherited from Deduplication

Inherited from PersistentActor

Inherited from Eventsourced

Inherited from PersistenceRecovery

Inherited from PersistenceIdentity

Inherited from StashFactory

Inherited from Stash

Inherited from RequiresMessageQueue[DequeBasedMessageQueueSemantics]

Inherited from UnrestrictedStash

Inherited from StashSupport

Inherited from Snapshotter

Inherited from GracefulPassivation

Inherited from Actor

Inherited from BusinessEntity

Inherited from AnyRef

Inherited from Any

Ungrouped