Class/Object

no.nextgentel.oss.akkatools.example.booking

BookingAggregate

Related Docs: object BookingAggregate | package booking

Permalink

class BookingAggregate extends GeneralAggregateDMViaEvent[BookingEvent, BookingState]

Linear Supertypes
GeneralAggregateDMViaEvent[BookingEvent, BookingState], GeneralAggregateBase[BookingEvent, BookingState], EnhancedPersistentShardingActor[BookingEvent, AggregateError], EnhancedPersistentActor[BookingEvent, AggregateError], MdcSupport[BookingEvent], BeforeAndAfterEventAndCommand[BookingEvent], DiagnosticActorLogging, AtLeastOnceDelivery, AtLeastOnceDeliveryLike, PersistentActor, Eventsourced, PersistenceRecovery, PersistenceIdentity, PersistenceStash, StashFactory, Stash, RequiresMessageQueue[DequeBasedMessageQueueSemantics], UnrestrictedStash, StashSupport, Snapshotter, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BookingAggregate
  2. GeneralAggregateDMViaEvent
  3. GeneralAggregateBase
  4. EnhancedPersistentShardingActor
  5. EnhancedPersistentActor
  6. MdcSupport
  7. BeforeAndAfterEventAndCommand
  8. DiagnosticActorLogging
  9. AtLeastOnceDelivery
  10. AtLeastOnceDeliveryLike
  11. PersistentActor
  12. Eventsourced
  13. PersistenceRecovery
  14. PersistenceIdentity
  15. PersistenceStash
  16. StashFactory
  17. Stash
  18. RequiresMessageQueue
  19. UnrestrictedStash
  20. StashSupport
  21. Snapshotter
  22. Actor
  23. AnyRef
  24. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BookingAggregate(dmSelf: ActorPath, ticketPrintShop: ActorPath, cinemaNotifier: ActorPath, seatIdGenerator: SeatIdGenerator)

    Permalink

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

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 afterOnEvent(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    BeforeAndAfterEventAndCommand
  5. def afterTryCommand(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    BeforeAndAfterEventAndCommand
  6. def aroundPostRestart(reason: Throwable): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  12. def beforeOnEvent(event: BookingEvent): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MdcSupport → BeforeAndAfterEventAndCommand
  13. def beforeTryCommand(cmd: AnyRef): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MdcSupport → BeforeAndAfterEventAndCommand
  14. def canSendAsDM(): Boolean

    Permalink
    Definition Classes
    EnhancedPersistentActor
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def cmdToEvent: PartialFunction[AggregateCmd, ResultingEvent[BookingEvent]]

    Permalink
    Definition Classes
    BookingAggregate → GeneralAggregateBase
  17. def confirmDelivery(deliveryId: Long): Boolean

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  18. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  19. var currentLogLevelInfo: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  20. def defaultMdc(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MdcSupport
  21. def defaultTimeToWaitAfterMaxRedeliverAttemptsBeforeTimeout(): FiniteDuration

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  22. def defer[A](event: A)(handler: (A) ⇒ Unit): Unit

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

    Permalink
    Definition Classes
    PersistentActor
  24. def deleteMessages(toSequenceNr: Long): Unit

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

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

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

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

    Permalink
    Definition Classes
    AtLeastOnceDelivery
  29. lazy val dispatchId: String

    Permalink
    Definition Classes
    EnhancedPersistentShardingActor
  30. def doUnconfirmedWarningProcessing(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  31. def durableMessageNotDeliveredHandler(originalPayload: Any, errorMsg: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    GeneralAggregateBase → EnhancedPersistentActor
  32. implicit val ec: ExecutionContextExecutor

    Permalink
    Definition Classes
    EnhancedPersistentActor
  33. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  35. def extractMdc(eventOrCmd: AnyRef): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MdcSupport
  36. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  37. def generateDMs: PartialFunction[BookingEvent, ResultingDMs]

    Permalink
    Definition Classes
    BookingAggregate → GeneralAggregateDMViaEvent
  38. def generateDMs(event: BookingEvent, previousState: BookingState): ResultingDMs

    Permalink
    Definition Classes
    GeneralAggregateDMViaEvent → GeneralAggregateBase
  39. def generateEventsForFailedDurableMessage(originalPayload: Any, errorMsg: String): Seq[BookingEvent]

    Permalink
    Definition Classes
    GeneralAggregateBase
  40. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  41. def getDMGeneratingVersion: Int

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  42. def getDMSelf(): ActorPath

    Permalink
    Definition Classes
    EnhancedPersistentShardingActor → EnhancedPersistentActor
  43. def getDeliverySnapshot: AtLeastOnceDeliverySnapshot

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  44. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  45. def idleTimeout(): FiniteDuration

    Permalink
    Definition Classes
    BookingAggregate → EnhancedPersistentActor
  46. lazy val idleTimeoutValueToUse: FiniteDuration

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  47. def internalProcessUnconfirmedWarning(unconfirmedWarning: UnconfirmedWarning): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    GeneralAggregateBase → EnhancedPersistentActor
  48. def internalStashOverflowStrategy: StashOverflowStrategy

    Permalink
    Definition Classes
    PersistenceStash
  49. def isExpectedError(e: Exception): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  50. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  51. def journalPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  52. def lastSequenceNr: Long

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

    Permalink
    Definition Classes
    Snapshotter
  54. val log: DiagnosticLoggingAdapter

    Permalink
    Definition Classes
    DiagnosticActorLogging
  55. def logMessage(message: String): Unit

    Permalink
    Definition Classes
    EnhancedPersistentActor
  56. def maxUnconfirmedMessages: Int

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  57. def mdc(currentMessage: Any): MDC

    Permalink
    Definition Classes
    MdcSupport → DiagnosticActorLogging
  58. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  61. def numberOfUnconfirmed: Int

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  62. def onAlreadyProcessedCmdViaDMReceivedAgain(cmd: AnyRef): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    GeneralAggregateBase → EnhancedPersistentActor
  63. def onApplyingLiveEvent(event: BookingEvent): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  64. def onEvent: PartialFunction[BookingEvent, Unit]

    Permalink
    Definition Classes
    GeneralAggregateBase → EnhancedPersistentActor
  65. def onInactiveTimeout(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentShardingActor → EnhancedPersistentActor
  66. def onPersistFailure(cause: Throwable, event: Any, seqNr: Long): Unit

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

    Permalink
    Attributes
    protected
    Definition Classes
    Eventsourced
  68. def onReceiveRecover(event: BookingEvent): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  69. def onRecoveryCompleted(): Unit

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

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

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

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

    Permalink
    Definition Classes
    PersistentActor
  74. def persistAndApplyEvent(event: BookingEvent, successHandler: () ⇒ Unit): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  75. def persistAndApplyEvent(event: BookingEvent): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  76. def persistAndApplyEvents(events: List[BookingEvent], successHandler: () ⇒ Unit): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  77. def persistAndApplyEvents(events: List[BookingEvent]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  78. def persistAsync[A](event: A)(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    PersistentActor
  79. def persistenceId: String

    Permalink
    Definition Classes
    EnhancedPersistentShardingActor → PersistenceIdentity
  80. def persistenceIdBase(): String

    Permalink
    Definition Classes
    BookingAggregate → EnhancedPersistentShardingActor
  81. def postRestart(reason: Throwable): Unit

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

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

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

    Permalink
    Definition Classes
    EnhancedPersistentActor → Actor
  85. def receive: Receive

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

    Permalink
    Definition Classes
    EnhancedPersistentActor → Eventsourced
  87. def receiveRecover: Receive

    Permalink
    Definition Classes
    EnhancedPersistentActor → Eventsourced
  88. def recovery: Recovery

    Permalink
    Definition Classes
    PersistenceRecovery
  89. def recoveryFinished: Boolean

    Permalink
    Definition Classes
    Eventsourced
  90. def recoveryRunning: Boolean

    Permalink
    Definition Classes
    Eventsourced
  91. def redeliverInterval: FiniteDuration

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  92. def redeliveryBurstLimit: Int

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  93. def saveSnapshot(snapshot: Any): Unit

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

    Permalink
    Definition Classes
    Actor
  95. def sendAsDM(sendAsDM: SendAsDM): Unit

    Permalink
    Definition Classes
    EnhancedPersistentShardingActor → EnhancedPersistentActor
  96. def sendAsDM(payload: AnyRef, destinationActor: ActorPath): Unit

    Permalink
    Definition Classes
    EnhancedPersistentShardingActor → EnhancedPersistentActor
  97. def sendAsDM(payload: AnyRef, destinationActor: ActorPath, confirmationRoutingInfo: AnyRef): Unit

    Permalink
    Definition Classes
    EnhancedPersistentActor
  98. final def sender(): ActorRef

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

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  100. def setLogLevels(eventLogLevelInfo: Boolean, recoveringEventLogLevelInfo: Boolean, cmdLogLevelInfo: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  101. def setMdcValue(name: String, value: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MdcSupport
  102. def snapshotPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  103. def snapshotSequenceNr: Long

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

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

    Permalink
    Definition Classes
    Eventsourced → StashSupport
  106. var state: BookingState

    Permalink
    Definition Classes
    BookingAggregate → GeneralAggregateBase
  107. def stateInfo(): String

    Permalink
    Attributes
    protected
    Definition Classes
    GeneralAggregateBase → EnhancedPersistentActor
  108. def supervisorStrategy: SupervisorStrategy

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  111. def toStringForLogging[T](o: T): String

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  112. final def tryCommand: PartialFunction[AnyRef, Unit]

    Permalink
    Definition Classes
    GeneralAggregateBase → EnhancedPersistentActor
  113. def unhandled(message: Any): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike

Inherited from GeneralAggregateDMViaEvent[BookingEvent, BookingState]

Inherited from GeneralAggregateBase[BookingEvent, BookingState]

Inherited from EnhancedPersistentShardingActor[BookingEvent, AggregateError]

Inherited from EnhancedPersistentActor[BookingEvent, AggregateError]

Inherited from MdcSupport[BookingEvent]

Inherited from BeforeAndAfterEventAndCommand[BookingEvent]

Inherited from DiagnosticActorLogging

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 Actor

Inherited from AnyRef

Inherited from Any

Ungrouped