Class/Object

demesne.testkit.SimpleTestModule

SimpleTestActor

Related Docs: object SimpleTestActor | package SimpleTestModule

Permalink

class SimpleTestActor extends AggregateRoot[State]

Self Type
SimpleTestActor with EventPublisher
Linear Supertypes
AggregateRoot[State], ActorLogging, Provider, Provider, EnvelopingActor, Enveloping, ActorStack, PersistentActor, Eventsourced, PersistenceRecovery, PersistenceIdentity, PersistenceStash, StashFactory, Stash, RequiresMessageQueue[DequeBasedMessageQueueSemantics], UnrestrictedStash, StashSupport, Snapshotter, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SimpleTestActor
  2. AggregateRoot
  3. ActorLogging
  4. Provider
  5. Provider
  6. EnvelopingActor
  7. Enveloping
  8. ActorStack
  9. PersistentActor
  10. Eventsourced
  11. PersistenceRecovery
  12. PersistenceIdentity
  13. PersistenceStash
  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 SimpleTestActor(model: DomainModel, meta: AggregateRootType)

    Permalink

Type Members

  1. type Acceptance = PartialFunction[(Any, State), State]

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

    Permalink
    Definition Classes
    Actor
  3. type StateOperation = Kleisli[(SimpleTestActor.this)#Valid, State, State]

    Permalink
    Definition Classes
    AggregateRoot
  4. type Valid[A] = \/[NonEmptyList[Throwable], A]

    Permalink
    Definition Classes
    AggregateRoot

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 accept(event: Any): State

    Permalink
    Definition Classes
    AggregateRoot
  5. def acceptAndPublish(event: Any): State

    Permalink
    Definition Classes
    AggregateRoot
  6. def acceptAndPublishOp(event: Any): (SimpleTestActor.this)#StateOperation

    Permalink
    Definition Classes
    AggregateRoot
  7. def acceptOp(event: Any): (SimpleTestActor.this)#StateOperation

    Permalink
    Definition Classes
    AggregateRoot
  8. def acceptSnapshot(snapshotOffer: SnapshotOffer): State

    Permalink
    Definition Classes
    AggregateRoot
  9. val acceptance: (SimpleTestActor.this)#Acceptance

    Permalink
    Definition Classes
    SimpleTestActor → AggregateRoot
  10. def around(r: (SimpleTestActor.this)#Receive): (SimpleTestActor.this)#Receive

    Permalink
    Definition Classes
    AggregateRoot → EnvelopingActor → ActorStack
  11. def aroundPostRestart(reason: Throwable): Unit

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Snapshotter
  23. def envelopeHeader: Option[EnvelopeHeader]

    Permalink
    Definition Classes
    Enveloping
  24. def envelopeHeader_=(header: Option[EnvelopeHeader]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Enveloping
  25. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. def internalStashOverflowStrategy: StashOverflowStrategy

    Permalink
    Definition Classes
    PersistenceStash
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. def journalPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  33. def lastSequenceNr: Long

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

    Permalink
    Definition Classes
    Snapshotter
  35. def log: LoggingAdapter

    Permalink
    Definition Classes
    ActorLogging
  36. implicit def messageNumber: MessageNumber

    Permalink
    Definition Classes
    Enveloping
  37. def messageNumber_=(messageNum: MessageNumber): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Enveloping
  38. val meta: AggregateRootType

    Permalink
    Definition Classes
    SimpleTestActor → Provider
  39. val model: DomainModel

    Permalink
    Definition Classes
    SimpleTestActor → Provider
  40. implicit val myComponentPath: ComponentPath

    Permalink
    Definition Classes
    Enveloping
  41. implicit val myComponentType: ComponentType

    Permalink
    Definition Classes
    Enveloping
  42. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Eventsourced
  48. def pathname: String

    Permalink
    Definition Classes
    EnvelopingActor → Enveloping
  49. def persist[A](event: A)(handler: (A) ⇒ Unit): Unit

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

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

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

    Permalink
    Definition Classes
    Eventsourced
  53. def persistenceId: String

    Permalink
    Definition Classes
    AggregateRoot → PersistenceIdentity
  54. def postRestart(reason: Throwable): Unit

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

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

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

    Permalink
    Definition Classes
    AggregateRoot → Actor
  58. def publishOp(event: Any): (SimpleTestActor.this)#StateOperation

    Permalink
    Definition Classes
    AggregateRoot
  59. def receive: (SimpleTestActor.this)#Receive

    Permalink
    Definition Classes
    PersistentActor → Actor
  60. def receiveCommand: (SimpleTestActor.this)#Receive

    Permalink
    Definition Classes
    SimpleTestActor → Eventsourced
  61. def receiveRecover: (SimpleTestActor.this)#Receive

    Permalink
    Definition Classes
    AggregateRoot → Eventsourced
  62. def recovery: Recovery

    Permalink
    Definition Classes
    PersistenceRecovery
  63. def recoveryFinished: Boolean

    Permalink
    Definition Classes
    Eventsourced
  64. def recoveryRunning: Boolean

    Permalink
    Definition Classes
    Eventsourced
  65. def saveSnapshot(snapshot: Any): Unit

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

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

    Permalink
    Definition Classes
    Actor
  68. def snapshotPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  69. def snapshotSequenceNr: Long

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

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

    Permalink
    Definition Classes
    StashSupport
  72. var state: State

    Permalink
    Definition Classes
    SimpleTestActor → AggregateRoot
  73. def supervisorStrategy: SupervisorStrategy

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  76. val trace: Trace[LoggingAdapter]

    Permalink
    Definition Classes
    SimpleTestActor → AggregateRoot → EnvelopingActor
  77. def unhandled(message: Any): Unit

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. implicit def workId: WorkId

    Permalink
    Definition Classes
    Enveloping
  83. def workId_=(wid: WorkId): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Enveloping

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 AggregateRoot[State]

Inherited from ActorLogging

Inherited from Provider

Inherited from Provider

Inherited from EnvelopingActor

Inherited from Enveloping

Inherited from ActorStack

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