Trait

im.actor.server.cqrs

Processor

Related Doc: package cqrs

Permalink

trait Processor[S <: ProcessorState[S]] extends PersistentActor with ActorLogging

Linear Supertypes
ActorLogging, PersistentActor, Eventsourced, PersistenceRecovery, PersistenceIdentity, StashFactory, Stash, RequiresMessageQueue[DequeBasedMessageQueueSemantics], UnrestrictedStash, StashSupport, Snapshotter, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Processor
  2. ActorLogging
  3. PersistentActor
  4. Eventsourced
  5. PersistenceRecovery
  6. PersistenceIdentity
  7. StashFactory
  8. Stash
  9. RequiresMessageQueue
  10. UnrestrictedStash
  11. StashSupport
  12. Snapshotter
  13. Actor
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type CommandHandler = PartialFunction[Any, Unit]

    Permalink
  2. type QueryHandler = PartialFunction[Any, Future[Any]]

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

    Permalink
    Definition Classes
    Actor

Abstract Value Members

  1. abstract def getInitialState: S

    Permalink
    Attributes
    protected
  2. abstract def handleCommand: Receive

    Permalink
    Attributes
    protected
  3. abstract def handleQuery: PartialFunction[Any, Future[Any]]

    Permalink
    Attributes
    protected
  4. abstract def persistenceId: String

    Permalink
    Definition Classes
    PersistenceIdentity

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. def aroundPostRestart(reason: Throwable): Unit

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

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

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def commit(e: TSEvent): Unit

    Permalink
    Attributes
    protected
  12. def commit(e: AnyRef, ts: Instant): S

    Permalink
    Attributes
    protected
  13. implicit val context: ActorContext

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

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

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

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

    Permalink
    Definition Classes
    Snapshotter
  18. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def journalPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  25. def lastSequenceNr: Long

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

    Permalink
    Definition Classes
    Snapshotter
  27. def log: LoggingAdapter

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Eventsourced
  33. def onRecoveryCompleted(): Unit

    Permalink
    Attributes
    protected
  34. def onRecoveryFailure(cause: Throwable, event: Option[Any]): Unit

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

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

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

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

    Permalink
    Definition Classes
    Eventsourced
  39. def persistTS[E <: AnyRef](e: E)(handler: (E, Instant) ⇒ Unit): Unit

    Permalink
    Attributes
    protected
  40. def postRestart(reason: Throwable): Unit

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

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

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

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  44. def receive: Receive

    Permalink
    Definition Classes
    PersistentActor → Actor
  45. def receiveCommand: PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Processor → Eventsourced
  46. final def receiveRecover: PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Processor → Eventsourced
  47. def recovery: Recovery

    Permalink
    Definition Classes
    PersistenceRecovery
  48. def recoveryFinished: Boolean

    Permalink
    Definition Classes
    Eventsourced
  49. def recoveryRunning: Boolean

    Permalink
    Definition Classes
    Eventsourced
  50. def reply(msg: AnyRef): Unit

    Permalink
    Attributes
    protected
  51. def replyFuture(msgFuture: Future[Any]): Unit

    Permalink
    Attributes
    protected
  52. def saveSnapshot(snapshot: Any): Unit

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

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

    Permalink
    Definition Classes
    Actor
  55. def snapshotPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  56. def snapshotSequenceNr: Long

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

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

    Permalink
    Definition Classes
    StashSupport
  59. final def state: S

    Permalink
    Attributes
    protected
  60. def supervisorStrategy: SupervisorStrategy

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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 ActorLogging

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