Class/Object

no.nextgentel.oss.akkatools.example.booking

BookingAggregate

Related Docs: object BookingAggregate | package booking

Permalink

class BookingAggregate extends GeneralAggregate[BookingEvent, BookingState]

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

Instance Constructors

  1. new BookingAggregate(ourDispatcherActor: 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 clone(): AnyRef

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

    Permalink
    Definition Classes
    BookingAggregate → GeneralAggregate
  16. def confirmDelivery(deliveryId: Long): Boolean

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  17. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  18. var currentLogLevelInfo: Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  26. lazy val dispatchId: String

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    GeneralAggregate → EnhancedPersistentActor
  29. implicit val ec: ExecutionContextExecutor

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. def generateEventsForFailedDurableMessage(originalPayload: Any, errorMsg: String): Seq[BookingEvent]

    Permalink
    Definition Classes
    GeneralAggregate
  35. def generateResultingDurableMessages: PartialFunction[BookingEvent, ResultingDurableMessages]

    Permalink
    Definition Classes
    BookingAggregate → GeneralAggregate
  36. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  38. def getDurableMessageSender(): ActorPath

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentShardingActor → EnhancedPersistentActor
  39. def hashCode(): Int

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

    Permalink
    Definition Classes
    BookingAggregate → EnhancedPersistentActor
  41. def internalProcessUnconfirmedWarning(unconfirmedWarning: UnconfirmedWarning): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    GeneralAggregate → EnhancedPersistentActor
  42. def isExpectedError(e: Exception): Boolean

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

    Permalink
    Definition Classes
    Any
  44. def journalPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  45. def lastSequenceNr: Long

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

    Permalink
    Definition Classes
    Snapshotter
  47. val log: DiagnosticLoggingAdapter

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

    Permalink
    Definition Classes
    EnhancedPersistentActor
  49. def maxUnconfirmedMessages: Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  54. def numberOfUnconfirmed: Int

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  55. def onApplyingLiveEvent(event: BookingEvent): Unit

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

    Permalink
    Definition Classes
    GeneralAggregate → EnhancedPersistentActor
  57. def onInactiveTimeout(): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Eventsourced
  65. def persistAndApplyEvent(event: BookingEvent): Unit

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

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

    Permalink
    Definition Classes
    Eventsourced
  68. def persistenceId: String

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    PersistenceRecovery
  78. def recoveryFinished: Boolean

    Permalink
    Definition Classes
    Eventsourced
  79. def recoveryRunning: Boolean

    Permalink
    Definition Classes
    Eventsourced
  80. def redeliverInterval: FiniteDuration

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike
  81. def redeliveryBurstLimit: Int

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

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

    Permalink
    Definition Classes
    Actor
  84. def sendAsDurableMessage(sendAsDurableMessage: SendAsDurableMessage): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentShardingActor → EnhancedPersistentActor
  85. def sendAsDurableMessage(payload: AnyRef, destinationActor: ActorPath): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentShardingActor → EnhancedPersistentActor
  86. def sendAsDurableMessage(payload: AnyRef, destinationActor: ActorPath, confirmationRoutingInfo: AnyRef): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  87. final def sender(): ActorRef

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

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

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

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

    Permalink
    Definition Classes
    PersistenceIdentity
  92. def snapshotSequenceNr: Long

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

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

    Permalink
    Definition Classes
    StashSupport
  95. var state: BookingState

    Permalink
    Definition Classes
    BookingAggregate → GeneralAggregate
  96. final def stateInfo(): String

    Permalink
    Attributes
    protected
    Definition Classes
    GeneralAggregate → EnhancedPersistentActor
  97. def supervisorStrategy: SupervisorStrategy

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  100. final def tryCommand: PartialFunction[AnyRef, Unit]

    Permalink
    Definition Classes
    GeneralAggregate → EnhancedPersistentActor
  101. def unhandled(message: Any): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    AtLeastOnceDeliveryLike

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 GeneralAggregate[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 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