no.nextgentel.oss.akkatools.aggregate

GeneralAggregateJava

Related Doc: package aggregate

abstract class GeneralAggregateJava extends GeneralAggregate[Any, AggregateStateJava]

Linear Supertypes
GeneralAggregate[Any, AggregateStateJava], EnhancedPersistentShardingActor[Any, AggregateError], EnhancedPersistentActor[Any, AggregateError], MdcSupport[Any], BeforeAndAfterEventAndCommand[Any], DiagnosticActorLogging, AtLeastOnceDelivery, Processor, PersistentActor, Eventsourced, ProcessorImpl, Recovery, StashFactory, Stash, RequiresMessageQueue[DequeBasedMessageQueueSemantics], UnrestrictedStash, StashSupport, Snapshotter, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GeneralAggregateJava
  2. GeneralAggregate
  3. EnhancedPersistentShardingActor
  4. EnhancedPersistentActor
  5. MdcSupport
  6. BeforeAndAfterEventAndCommand
  7. DiagnosticActorLogging
  8. AtLeastOnceDelivery
  9. Processor
  10. PersistentActor
  11. Eventsourced
  12. ProcessorImpl
  13. Recovery
  14. StashFactory
  15. Stash
  16. RequiresMessageQueue
  17. UnrestrictedStash
  18. StashSupport
  19. Snapshotter
  20. Actor
  21. AnyRef
  22. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GeneralAggregateJava(initialState: AggregateStateJava, ourDispatcherActor: ActorPath)

  2. new GeneralAggregateJava(initialState: AggregateStateJava, idleTimeout: FiniteDuration, ourDispatcherActor: ActorPath)

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Definition Classes
    Actor

Abstract Value Members

  1. abstract def onCmdToEvent(cmd: AnyRef): ResultingEvent[Any]

  2. abstract def onGenerateResultingDurableMessages(event: Any): ResultingDurableMessages

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def afterOnEvent(): Unit

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

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

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

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

    Attributes
    protected[akka]
    Definition Classes
    AtLeastOnceDelivery → ProcessorImpl → Actor
  9. def aroundPreStart(): Unit

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

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

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

    Attributes
    protected
    Definition Classes
    MdcSupportBeforeAndAfterEventAndCommand
  13. def beforeTryCommand(cmd: AnyRef): Unit

    Attributes
    protected
    Definition Classes
    MdcSupportBeforeAndAfterEventAndCommand
  14. def clone(): AnyRef

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

    Definition Classes
    GeneralAggregateJavaGeneralAggregate
  16. def confirmDelivery(deliveryId: Long): Boolean

    Definition Classes
    AtLeastOnceDelivery
  17. implicit val context: ActorContext

    Definition Classes
    Actor
  18. var currentLogLevelInfo: Boolean

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

    Attributes
    protected
    Definition Classes
    MdcSupport
  20. final def defer[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit

    Definition Classes
    Eventsourced
  21. final def defer[A](event: A)(handler: (A) ⇒ Unit): Unit

    Definition Classes
    Eventsourced
  22. def deleteMessages(toSequenceNr: Long, permanent: Boolean): Unit

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

    Definition Classes
    ProcessorImpl
  24. def deleteSnapshot(sequenceNr: Long, timestamp: Long): Unit

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

    Definition Classes
    Snapshotter
  26. def deliver(destination: ActorPath, deliveryIdToMessage: (Long) ⇒ Any): Unit

    Definition Classes
    AtLeastOnceDelivery
  27. lazy val dispatchId: String

  28. def doUnconfirmedWarningProcessing(): Boolean

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

    If doUnconfirmedWarningProcessing is turned on, then override this method to try to do something useful before we give up

    If doUnconfirmedWarningProcessing is turned on, then override this method to try to do something useful before we give up

    originalPayload

    Attributes
    protected
    Definition Classes
    GeneralAggregateEnhancedPersistentActor
  30. implicit val ec: ExecutionContextExecutor

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

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

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

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

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

    Override this to decide if the failed outbound durableMessage should result in a persisted event.

    Override this to decide if the failed outbound durableMessage should result in a persisted event. If so, return these events. When these have been persisted, generateResultingDurableMessages() will be called as usual enabling you to perform some outbound action.

    originalPayload
    errorMsg
    returns

    Definition Classes
    GeneralAggregate
  36. def generateResultingDurableMessages: PartialFunction[Any, ResultingDurableMessages]

    Definition Classes
    GeneralAggregateJavaGeneralAggregate
  37. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  38. def getDeliverySnapshot: AtLeastOnceDeliverySnapshot

    Definition Classes
    AtLeastOnceDelivery
  39. def getDurableMessageSender(): ActorPath

    Attributes
    protected
    Definition Classes
    EnhancedPersistentShardingActorEnhancedPersistentActor
  40. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  41. val initialBehavior: Receive

    Attributes
    protected[akka.persistence]
    Definition Classes
    Eventsourced
  42. def internalProcessUnconfirmedWarning(unconfirmedWarning: UnconfirmedWarning): Unit

    Attributes
    protected
    Definition Classes
    GeneralAggregateEnhancedPersistentActor
  43. def isExpectedError(e: Exception): Boolean

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

    Definition Classes
    Any
  45. def lastSequenceNr: Long

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

    Definition Classes
    Snapshotter
  47. val log: DiagnosticLoggingAdapter

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

    Definition Classes
    EnhancedPersistentActor
  49. def maxUnconfirmedMessages: Int

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

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

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

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

    Definition Classes
    AnyRef
  54. def numberOfUnconfirmed: Int

    Definition Classes
    AtLeastOnceDelivery
  55. def onApplyingLiveEvent(event: Any): Unit

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

  57. def onInactiveTimeout(): Unit

    Called when actor has been idle for too long..

    Called when actor has been idle for too long..

    If running in sharding, you should stop like this:

    getContext().parent().tell(new ShardRegion.Passivate(PoisonPill.getInstance()), self());

    Attributes
    protected
    Definition Classes
    EnhancedPersistentShardingActorEnhancedPersistentActor
  58. def onReceiveRecover(event: Any): Unit

    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  59. final def persist[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit

    Definition Classes
    Eventsourced
  60. final def persist[A](event: A)(handler: (A) ⇒ Unit): Unit

    Definition Classes
    Eventsourced
  61. def persistAndApplyEvent(event: Any): Unit

    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  62. def persistAndApplyEvents(events: List[Any]): Unit

    Attributes
    protected
    Definition Classes
    EnhancedPersistentActor
  63. final def persistAsync[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit

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

    Definition Classes
    Eventsourced
  65. def persistenceId: String

    Definition Classes
    EnhancedPersistentShardingActor → Processor → Recovery
  66. def postRestart(reason: Throwable): Unit

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

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

    Definition Classes
    Eventsourced → ProcessorImpl → UnrestrictedStash → Actor
  69. def preRestartDefault(reason: Throwable, message: Option[Any]): Unit

    Definition Classes
    ProcessorImpl
  70. def preStart(): Unit

    Definition Classes
    EnhancedPersistentActor → ProcessorImpl → Actor
  71. def receive: Receive

    Definition Classes
    PersistentActor → Actor
  72. def receiveCommand: Receive

    Definition Classes
    EnhancedPersistentActor → Eventsourced
  73. def receiveRecover: Receive

    Definition Classes
    EnhancedPersistentActor → Eventsourced
  74. def recoveryFinished: Boolean

    Definition Classes
    ProcessorImpl
  75. def recoveryRunning: Boolean

    Definition Classes
    ProcessorImpl
  76. def redeliverInterval: FiniteDuration

    Definition Classes
    AtLeastOnceDelivery
  77. def saveSnapshot(snapshot: Any): Unit

    Definition Classes
    Snapshotter
  78. implicit final val self: ActorRef

    Definition Classes
    Actor
  79. def sendAsDurableMessage(sendAsDurableMessage: SendAsDurableMessage): Unit

    Attributes
    protected
    Definition Classes
    EnhancedPersistentShardingActorEnhancedPersistentActor
  80. def sendAsDurableMessage(payload: AnyRef, destinationActor: ActorPath): Unit

    Attributes
    protected
    Definition Classes
    EnhancedPersistentShardingActorEnhancedPersistentActor
  81. def sendAsDurableMessage(payload: AnyRef, destinationActor: ActorPath, confirmationRoutingInfo: AnyRef): Unit

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

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

    Definition Classes
    AtLeastOnceDelivery
  84. def setLogLevels(eventLogLevelInfo: Boolean, recoveringEventLogLevelInfo: Boolean, cmdLogLevelInfo: Boolean): Unit

    eventLogLevelInfo

    Used when processing events live - not recovering

    recoveringEventLogLevelInfo

    Used when recovering events

    cmdLogLevelInfo

    Used when processing commands

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

    Attributes
    protected
    Definition Classes
    MdcSupport
  86. def snapshotSequenceNr: Long

    Definition Classes
    Recovery → Snapshotter
  87. def snapshotterId: String

    Definition Classes
    ProcessorImpl → Snapshotter
  88. def stash(): Unit

    Definition Classes
    StashSupport
  89. var state: AggregateStateJava

    Definition Classes
    GeneralAggregateJavaGeneralAggregate
  90. final def stateInfo(): String

    Attributes
    protected
    Definition Classes
    GeneralAggregateEnhancedPersistentActor
  91. def supervisorStrategy: SupervisorStrategy

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

    Definition Classes
    AnyRef
  93. def toString(): String

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

  95. def unhandled(message: Any): Unit

    Definition Classes
    ProcessorImpl → Actor
  96. def unstashAll(): Unit

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

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

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

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

    Definition Classes
    AtLeastOnceDelivery

Deprecated Value Members

  1. implicit def currentPersistentMessage: Option[Persistent]

    Definition Classes
    Recovery
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.4) currentPersistentMessage will be removed, sequence number can be retrieved with lastSequenceNr.

  2. def deleteMessage(sequenceNr: Long, permanent: Boolean): Unit

    Definition Classes
    ProcessorImpl
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.4) deleteMessage(sequenceNr) will be removed. Instead, validate before persist, and use deleteMessages for pruning.

  3. def deleteMessage(sequenceNr: Long): Unit

    Definition Classes
    ProcessorImpl
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.4) deleteMessage(sequenceNr) will be removed. Instead, validate before persist, and use deleteMessages for pruning.

  4. def getCurrentPersistentMessage: Persistent

    Definition Classes
    Recovery
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.4) getCurrentPersistentMessage will be removed, sequence number can be retrieved with lastSequenceNr.

  5. def processorId: String

    Definition Classes
    ProcessorImpl → Recovery
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.4) Override persistenceId: String instead. Processor will be removed.

Inherited from GeneralAggregate[Any, AggregateStateJava]

Inherited from MdcSupport[Any]

Inherited from BeforeAndAfterEventAndCommand[Any]

Inherited from DiagnosticActorLogging

Inherited from AtLeastOnceDelivery

Inherited from Processor

Inherited from PersistentActor

Inherited from Eventsourced

Inherited from ProcessorImpl

Inherited from Recovery

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