com.rbmhtechnology.eventuate

AbstractEventsourcedView

abstract class AbstractEventsourcedView extends EventsourcedView

Java API.

See also

EventsourcedView

Linear Supertypes
EventsourcedView, ActorLogging, InternalStash, StashFactory, Stash, RequiresMessageQueue[DequeBasedMessageQueueSemantics], UnrestrictedStash, StashSupport, ConditionalCommands, Actor, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AbstractEventsourcedView
  2. EventsourcedView
  3. ActorLogging
  4. InternalStash
  5. StashFactory
  6. Stash
  7. RequiresMessageQueue
  8. UnrestrictedStash
  9. StashSupport
  10. ConditionalCommands
  11. Actor
  12. AnyRef
  13. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractEventsourcedView(id: String, eventLog: ActorRef)

Type Members

  1. type Handler[A] = (Try[A]) ⇒ Unit

    Definition Classes
    EventsourcedView
  2. type Receive = PartialFunction[Any, Unit]

    Definition Classes
    Actor

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 aggregateId: Option[String]

    Optional aggregate id.

    Optional aggregate id. It is used for routing DurableEvents to event-sourced destinations which can be EventsourcedViews or EventsourcedActors. By default, an event is routed to an event-sourced destination with an undefined aggregateId. If a destination's aggregateId is defined it will only receive events with a matching aggregate id in DurableEvent#destinationAggregateIds.

    Definition Classes
    AbstractEventsourcedViewEventsourcedView
  5. def aroundPostRestart(reason: Throwable): Unit

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

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

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

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

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

    Definition Classes
    Any
  11. def clone(): AnyRef

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

    Definition Classes
    Actor
  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. val eventLog: ActorRef

    Event log actor.

    Event log actor.

    Definition Classes
    AbstractEventsourcedViewEventsourcedView
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def getAggregateId: Optional[String]

    Optional aggregate id.

    Optional aggregate id. Not defined by default.

  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. val id: String

    Global unique actor id.

    Global unique actor id.

    Definition Classes
    AbstractEventsourcedViewEventsourcedView
  21. val instanceId: Int

    Definition Classes
    EventsourcedView
  22. def internalStash(): Unit

    Internal API.

    Internal API.

    Definition Classes
    InternalStash
  23. def internalUnstash(): Unit

    Internal API.

    Internal API.

    Definition Classes
    InternalStash
  24. def internalUnstashAll(): Unit

    Internal API.

    Internal API.

    Definition Classes
    InternalStash
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. final def lastEmitterAggregateId: Option[String]

    Emitter aggregate id of the last handled event.

    Emitter aggregate id of the last handled event.

    Definition Classes
    EventsourcedView
  27. final def lastEmitterId: String

    Emitter id of the last handled event.

    Emitter id of the last handled event.

    Definition Classes
    EventsourcedView
  28. final def lastSequenceNr: Long

    Sequence number of the last handled event.

    Sequence number of the last handled event.

    Definition Classes
    EventsourcedView
  29. final def lastSystemTimestamp: Long

    Wall-clock timestamp of the last handled event.

    Wall-clock timestamp of the last handled event.

    Definition Classes
    EventsourcedView
  30. final def lastVectorTimestamp: VectorTime

    Vector timestamp of the last handled event.

    Vector timestamp of the last handled event.

    Definition Classes
    EventsourcedView
  31. def load(): Unit

    Sends a LoadSnapshot command to the event log.

    Sends a LoadSnapshot command to the event log. Can be overridden by implementations to customize snapshot loading.

    Definition Classes
    EventsourcedView
  32. def log: LoggingAdapter

    Definition Classes
    ActorLogging
  33. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  36. final def onCommand: Receive

    Command handler.

    Command handler.

    Definition Classes
    AbstractEventsourcedViewEventsourcedView
  37. final def onEvent: Receive

    Event handler.

    Event handler.

    Definition Classes
    AbstractEventsourcedViewEventsourcedView
  38. def onReceiveCommand(handler: Receive): Unit

    Sets this actor's command handler.

    Sets this actor's command handler.

    Attributes
    protected
  39. def onReceiveEvent(handler: Receive): Unit

    Sets this actor's event handler.

    Sets this actor's event handler.

    Attributes
    protected
  40. def onReceiveSnapshot(handler: Receive): Unit

    Sets this actor's snapshot handler.

    Sets this actor's snapshot handler.

    Attributes
    protected
  41. def onRecovered(): Unit

    Called after recovery successfully completed.

    Called after recovery successfully completed. Can be overridden by implementations.

    Definition Classes
    EventsourcedView
  42. final def onSnapshot: Receive

    Snapshot handler.

    Snapshot handler.

    Definition Classes
    AbstractEventsourcedViewEventsourcedView
  43. def postRestart(reason: Throwable): Unit

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

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

    Definition Classes
    InternalStash → UnrestrictedStash → Actor
  46. def preStart(): Unit

    Initiates recovery by calling load.

    Initiates recovery by calling load.

    Definition Classes
    EventsourcedView → Actor
  47. final def receive: Receive

    Initialization behavior.

    Initialization behavior.

    Definition Classes
    EventsourcedView → Actor
  48. final def recovering: Boolean

    Returns true if this actor is currently recovering internal state by consuming replayed events from the event log.

    Returns true if this actor is currently recovering internal state by consuming replayed events from the event log. Returns false after recovery completed and the actor switches to consuming live events.

    Definition Classes
    EventsourcedView
  49. def replay(fromSequenceNr: Long = 1L): Unit

    Sends a Replay command to the event log.

    Sends a Replay command to the event log. Can be overridden by implementations to customize replay.

    Definition Classes
    EventsourcedView
  50. def save(snapshot: Any, handler: BiConsumer[SnapshotMetadata, Throwable]): Unit

    Asynchronously saves the given snapshot.

  51. def save(snapshot: Any)(handler: Handler[SnapshotMetadata]): Unit

    Asynchronously saves the given snapshot and calls handler with the generated snapshot metadata.

    Asynchronously saves the given snapshot and calls handler with the generated snapshot metadata. The handler can also obtain a reference to the initial message sender via sender().

    Definition Classes
    EventsourcedView
  52. implicit final val self: ActorRef

    Definition Classes
    Actor
  53. final def sender(): ActorRef

    Definition Classes
    Actor
  54. def stash(): Unit

    Definition Classes
    StashSupport
  55. def supervisorStrategy: SupervisorStrategy

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

    Definition Classes
    AnyRef
  57. def toString(): String

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

    Definition Classes
    Actor
  59. def unstashAll(): Unit

    Definition Classes
    StashSupport
  60. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from EventsourcedView

Inherited from ActorLogging

Inherited from InternalStash

Inherited from StashFactory

Inherited from Stash

Inherited from RequiresMessageQueue[DequeBasedMessageQueueSemantics]

Inherited from UnrestrictedStash

Inherited from StashSupport

Inherited from ConditionalCommands

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped