Class

pl.newicom.dddd.process

ProcessManager

Related Doc: package process

Permalink

abstract class ProcessManager[S <: SagaState[S]] extends Saga with SagaCollaboration with SagaStateHandling[S]

Linear Supertypes
SagaStateHandling[S], SagaAbstractStateHandling, SagaCollaboration, Saga, SagaBase, PersistentActorLogging, Deduplication, ReceivePipeline, AtLeastOnceDelivery, AtLeastOnceDeliveryLike, PersistentActor, Eventsourced, PersistenceRecovery, PersistenceIdentity, PersistenceStash, StashFactory, Stash, RequiresMessageQueue[DequeBasedMessageQueueSemantics], UnrestrictedStash, StashSupport, Snapshotter, GracefulPassivation, Actor, BusinessEntity, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProcessManager
  2. SagaStateHandling
  3. SagaAbstractStateHandling
  4. SagaCollaboration
  5. Saga
  6. SagaBase
  7. PersistentActorLogging
  8. Deduplication
  9. ReceivePipeline
  10. AtLeastOnceDelivery
  11. AtLeastOnceDeliveryLike
  12. PersistentActor
  13. Eventsourced
  14. PersistenceRecovery
  15. PersistenceIdentity
  16. PersistenceStash
  17. StashFactory
  18. Stash
  19. RequiresMessageQueue
  20. UnrestrictedStash
  21. StashSupport
  22. Snapshotter
  23. GracefulPassivation
  24. Actor
  25. BusinessEntity
  26. AnyRef
  27. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProcessManager()

    Permalink

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor
  2. type ReceiveEvent = PartialFunction[DomainEvent, SagaAction]

    Permalink
    Definition Classes
    SagaAbstractStateHandling
  3. class SagaBuilder extends AnyRef

    Permalink
    Definition Classes
    SagaStateHandling
  4. type StateFunction = PartialFunction[DomainEvent, StateTransition]

    Permalink
    Definition Classes
    SagaStateHandling
  5. type StateMachine = PartialFunction[S, StateFunction]

    Permalink
    Definition Classes
    SagaStateHandling
  6. final case class StateTransition(triggeredBy: DomainEvent, fromState: S, toState: S, action: () ⇒ Unit) extends Product with Serializable

    Permalink
    Definition Classes
    SagaStateHandling
  7. class ToBeScheduled extends AnyRef

    Permalink
    Definition Classes
    SagaCollaboration
  8. implicit class ToStateTransition extends AnyRef

    Permalink
    Definition Classes
    SagaStateHandling

Abstract Value Members

  1. abstract def officeId: OfficeId

    Permalink
    Attributes
    protected
    Definition Classes
    SagaBase
  2. abstract val pc: PassivationConfig

    Permalink
    Definition Classes
    GracefulPassivation
  3. abstract def processCollaborators: List[RemoteOfficeId[_]]

    Permalink
    Attributes
    protected
    Definition Classes
    SagaCollaboration

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 acknowledgeEvent(em: Message): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SagaBase
  5. def aroundPostRestart(reason: Throwable): Unit

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

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

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

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

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    ReceivePipeline → Actor
  10. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  13. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  14. def currentEventMsg: EventMessage

    Permalink
    Attributes
    protected
    Definition Classes
    SagaBase
  15. def deferAsync[A](event: A)(handler: (A) ⇒ Unit): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  21. def deliverCommand(target: ActorPath, command: Command): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SagaCollaboration
  22. def deliverMsg(target: ActorPath, msg: Message): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SagaCollaboration
  23. implicit def deliveryHandler: DeliveryHandler

    Permalink
    Definition Classes
    SagaCollaboration
  24. def department: String

    Permalink
    Definition Classes
    SagaBase → BusinessEntity
  25. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  30. def goto(nextState: S): S

    Permalink
    Definition Classes
    SagaStateHandling
  31. def handleDuplicated(msg: Message): Unit

    Permalink
    Definition Classes
    SagaBaseDeduplication
  32. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  33. def id: EntityId

    Permalink
    Definition Classes
    SagaBase → BusinessEntity
  34. def initialized: Boolean

    Permalink
  35. def internalStashOverflowStrategy: StashOverflowStrategy

    Permalink
    Definition Classes
    PersistenceStash
  36. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  37. def journalPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  38. def lastSequenceNr: Long

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

    Permalink
    Definition Classes
    Snapshotter
  40. def log(mode: LoggingMode): LoggingAdapter

    Permalink
    Definition Classes
    PersistentActorLogging
  41. def log: LoggingAdapter

    Permalink
    Definition Classes
    PersistentActorLogging
  42. def maxUnconfirmedMessages: Int

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  43. def messageProcessed(msg: Message): Unit

    Permalink
    Definition Classes
    SagaBaseDeduplication
  44. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  47. def numberOfUnconfirmed: Int

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  48. def officePath: ActorPath

    Permalink
    Attributes
    protected
    Definition Classes
    SagaBase
  49. def onEventReceived(em: EventMessage, appliedAction: SagaAction): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Eventsourced
  57. def persistenceId: String

    Permalink
    Definition Classes
    SagaBase → PersistenceIdentity
  58. def pipelineInner(interceptor: Interceptor): Unit

    Permalink
    Definition Classes
    ReceivePipeline
  59. def pipelineOuter(interceptor: Interceptor): Unit

    Permalink
    Definition Classes
    ReceivePipeline
  60. def postRestart(reason: Throwable): Unit

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

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

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

    Permalink
    Definition Classes
    GracefulPassivation → Actor
  64. def processManagerId: String

    Permalink
  65. def receive: Receive

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

    Permalink
    Definition Classes
    Saga → Eventsourced
  67. def receiveEvent: ReceiveEvent

    Permalink
  68. def receiveRecover: Receive

    Permalink
    Definition Classes
    Saga → Eventsourced
  69. def recovery: Recovery

    Permalink
    Definition Classes
    PersistenceRecovery
  70. def recoveryFinished: Boolean

    Permalink
    Definition Classes
    Eventsourced
  71. def recoveryRunning: Boolean

    Permalink
    Definition Classes
    Eventsourced
  72. def redeliverInterval: FiniteDuration

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  73. def redeliveryBurstLimit: Int

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  74. def sagaId: String

    Permalink
    Attributes
    protected
    Definition Classes
    SagaBase
  75. def saveSnapshot(snapshot: Any): Unit

    Permalink
    Definition Classes
    Snapshotter
  76. def schedule(event: DomainEvent): ToBeScheduled

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

    Permalink
    Attributes
    protected
    Definition Classes
    SagaCollaboration
  78. implicit final val self: ActorRef

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

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

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  81. def snapshotPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  82. def snapshotSequenceNr: Long

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

    Permalink
    Definition Classes
    Eventsourced → Snapshotter
  84. def startWhen(initiation: StateFunction): SagaBuilder

    Permalink
    Definition Classes
    SagaStateHandling
  85. def stash(): Unit

    Permalink
    Definition Classes
    StashSupport
  86. def state: S

    Permalink
    Definition Classes
    SagaStateHandling
  87. def stay(): S

    Permalink
    Definition Classes
    SagaStateHandling
  88. def supervisorStrategy: SupervisorStrategy

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

    Permalink
    Definition Classes
    AnyRef
  90. implicit def toCurrentStateTransition(noState: Unit): StateTransition

    Permalink
    Definition Classes
    SagaStateHandling
  91. implicit def toStateTransition(state: S): StateTransition

    Permalink
    Definition Classes
    SagaStateHandling
  92. def toString(): String

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

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

    Permalink
    Definition Classes
    Eventsourced → StashSupport
  95. def updateState(event: DomainEvent): Unit

    Permalink
  96. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  100. def wasReceived(msgId: String): Boolean

    Permalink
    Definition Classes
    Deduplication
  101. def (event: DomainEvent): ToBeScheduled

    Permalink
    Definition Classes
    SagaCollaboration
  102. def [C <: Command](command: C): Unit

    Permalink
    Definition Classes
    SagaCollaboration

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 SagaStateHandling[S]

Inherited from SagaAbstractStateHandling

Inherited from SagaCollaboration

Inherited from Saga

Inherited from SagaBase

Inherited from PersistentActorLogging

Inherited from Deduplication

Inherited from ReceivePipeline

Inherited from AtLeastOnceDelivery

Inherited from AtLeastOnceDeliveryLike

Inherited from PersistentActor

Inherited from Eventsourced

Inherited from PersistenceRecovery

Inherited from PersistenceIdentity

Inherited from PersistenceStash

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