Class

demesne

Saga

Related Doc: package demesne

Permalink

abstract class Saga[S, I] extends AggregateRoot[S, I]

Self Type
Saga[S, I] with Provider with EventPublisher
Linear Supertypes
AggregateRoot[S, I], ActorLogging, EnvelopingActor, Enveloping, ActorStack, PersistentActor, Eventsourced, PersistenceRecovery, PersistenceIdentity, PersistenceStash, StashFactory, Stash, RequiresMessageQueue[DequeBasedMessageQueueSemantics], UnrestrictedStash, StashSupport, Snapshotter, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Saga
  2. AggregateRoot
  3. ActorLogging
  4. EnvelopingActor
  5. Enveloping
  6. ActorStack
  7. PersistentActor
  8. Eventsourced
  9. PersistenceRecovery
  10. PersistenceIdentity
  11. PersistenceStash
  12. StashFactory
  13. Stash
  14. RequiresMessageQueue
  15. UnrestrictedStash
  16. StashSupport
  17. Snapshotter
  18. Actor
  19. AnyRef
  20. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Saga()(implicit arg0: ClassTag[S], arg1: ClassTag[I])

    Permalink

Type Members

  1. type Acceptance = PartialFunction[(Any, S), S]

    Permalink
    Definition Classes
    AggregateRoot
  2. type ID = I

    Permalink
    Definition Classes
    AggregateRoot
  3. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor
  4. type StateOperation = Kleisli[TryV, S, S]

    Permalink
    Definition Classes
    AggregateRoot
  5. type TID = TaggedID[(Saga.this)#ID]

    Permalink
    Definition Classes
    AggregateRoot

Abstract Value Members

  1. abstract def acceptance: (Saga.this)#Acceptance

    Permalink
    Definition Classes
    AggregateRoot
  2. abstract val evState: ClassTag[S]

    Permalink
    Definition Classes
    AggregateRoot
  3. abstract def receiveCommand: (Saga.this)#Receive

    Permalink
    Definition Classes
    Eventsourced
  4. abstract def state: S

    Permalink
    Definition Classes
    AggregateRoot
  5. abstract def state_=(newState: S): Unit

    Permalink
    Definition Classes
    AggregateRoot

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. val StopMessageType: ClassTag[_]

    Permalink
    Definition Classes
    AggregateRoot
  5. def accept(event: Any): S

    Permalink
    Definition Classes
    AggregateRoot
  6. def acceptAndPublish(event: Any): S

    Permalink
    Definition Classes
    AggregateRoot
  7. def acceptAndPublishOp(event: Any): (Saga.this)#StateOperation

    Permalink
    Definition Classes
    AggregateRoot
  8. def acceptOp(event: Any): (Saga.this)#StateOperation

    Permalink
    Definition Classes
    AggregateRoot
  9. def acceptSnapshot(snapshotOffer: SnapshotOffer): S

    Permalink
    Definition Classes
    AggregateRoot
  10. lazy val aggregateId: (Saga.this)#TID

    Permalink
    Definition Classes
    AggregateRoot
  11. def aggregateIdFor(msg: Any): Option[EntityId]

    Permalink
    Definition Classes
    AggregateRoot
  12. def aggregateIdFromPath(): (Saga.this)#TID

    Permalink
    Definition Classes
    AggregateRoot
  13. def around(r: (Saga.this)#Receive): (Saga.this)#Receive

    Permalink
    Definition Classes
    AggregateRoot → EnvelopingActor → ActorStack
  14. def aroundPostRestart(reason: Throwable): Unit

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

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

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

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Eventsourced → Actor
  18. def aroundReceive(receive: (Saga.this)#Receive, message: Any): Unit

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. implicit val context: ActorContext

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

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

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

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

    Permalink
    Definition Classes
    Snapshotter
  26. def envelopeHeader: Option[EnvelopeHeader]

    Permalink
    Definition Classes
    Enveloping
  27. def envelopeHeader_=(header: Option[EnvelopeHeader]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Enveloping
  28. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. lazy val evTID: ClassTag[(Saga.this)#TID]

    Permalink
    Definition Classes
    AggregateRoot
  31. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. val handleSaveSnapshot: (Saga.this)#Receive

    Permalink
    Definition Classes
    AggregateRoot
  34. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  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: LoggingAdapter

    Permalink
    Definition Classes
    ActorLogging
  41. implicit def messageNumber: MessageNumber

    Permalink
    Definition Classes
    Enveloping
  42. def messageNumber_=(messageNum: MessageNumber): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Enveloping
  43. implicit val myComponentPath: ComponentPath

    Permalink
    Definition Classes
    Enveloping
  44. implicit val myComponentType: ComponentType

    Permalink
    Definition Classes
    Enveloping
  45. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Eventsourced
  51. def onSuccessfulSnapshot(metadata: SnapshotMetadata): Unit

    Permalink
    Definition Classes
    AggregateRoot
  52. def passivate(): Unit

    Permalink
    Definition Classes
    AggregateRoot
  53. def pathname: String

    Permalink
    Definition Classes
    EnvelopingActor → Enveloping
  54. def persist[A](event: A)(handler: (A) ⇒ Unit): Unit

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

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

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

    Permalink
    Definition Classes
    Eventsourced
  58. lazy val persistenceId: String

    Permalink
    Definition Classes
    AggregateRoot → PersistenceIdentity
  59. def persistenceIdFromPath(): String

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

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

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

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

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  64. def publishOp(event: Any): (Saga.this)#StateOperation

    Permalink
    Definition Classes
    AggregateRoot
  65. def receive: (Saga.this)#Receive

    Permalink
    Definition Classes
    PersistentActor → Actor
  66. def receiveRecover: (Saga.this)#Receive

    Permalink
    Definition Classes
    AggregateRoot → Eventsourced
  67. def recovery: Recovery

    Permalink
    Definition Classes
    PersistenceRecovery
  68. def recoveryFinished: Boolean

    Permalink
    Definition Classes
    Eventsourced
  69. def recoveryRunning: Boolean

    Permalink
    Definition Classes
    Eventsourced
  70. implicit def requestId: RequestId

    Permalink
    Definition Classes
    Enveloping
  71. def saveSnapshot(snapshot: Any): Unit

    Permalink
    Definition Classes
    Snapshotter
  72. implicit final val self: ActorRef

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

    Permalink
    Definition Classes
    Actor
  74. val snapshotCancellable: Option[Cancellable]

    Permalink
    Definition Classes
    AggregateRoot
  75. def snapshotPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  76. def snapshotSequenceNr: Long

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

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

    Permalink
    Definition Classes
    StashSupport
  79. def supervisorStrategy: SupervisorStrategy

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  87. implicit def workId: WorkId

    Permalink
    Definition Classes
    Enveloping
  88. def workId_=(wid: WorkId): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Enveloping

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 AggregateRoot[S, I]

Inherited from ActorLogging

Inherited from EnvelopingActor

Inherited from Enveloping

Inherited from ActorStack

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 Actor

Inherited from AnyRef

Inherited from Any

Ungrouped