class EmptyEventsourcedInstrumentation extends EventsourcedInstrumentation

INTERNAL API

Annotations
@InternalStableApi()
Source
EventsourcedInstrumentation.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EmptyEventsourcedInstrumentation
  2. EventsourcedInstrumentation
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new EmptyEventsourcedInstrumentation(system: ActorSystem)
  2. new EmptyEventsourcedInstrumentation()

Value Members

  1. def afterRequestRecoveryPermit(actorRef: ActorRef, context: Context): Unit

    Record after a recovery permit is requested.

    Record after a recovery permit is requested.

    actorRef

    the ActorRef for which the recovery permit is requested

    context

    returned by beforeRequestRecoveryPermit

    Definition Classes
    EmptyEventsourcedInstrumentationEventsourcedInstrumentation
  2. def beforeRequestRecoveryPermit(actorRef: ActorRef): Context

    Record before a recovery permit is requested.

    Record before a recovery permit is requested.

    actorRef

    the ActorRef for which the recovery permit is about to be requested

    returns

    context that will be passed to afterRequestRecoveryPermit

    Definition Classes
    EmptyEventsourcedInstrumentationEventsourcedInstrumentation
  3. def dependencies: Seq[String]

    Optional dependencies for this instrumentation.

    Optional dependencies for this instrumentation.

    Dependency instrumentations will always be ordered before this instrumentation.

    returns

    list of class names for optional instrumentation dependencies

    Definition Classes
    EmptyEventsourcedInstrumentationEventsourcedInstrumentation
  4. def persistEventCalled(actorRef: ActorRef, event: Any, command: Any): Context

    Record persist event.

    Record persist event.

    actorRef

    the ActorRef for which the event will be sent to the journal.

    event

    the event that was submitted for persistence. For persist of several events it will be called for each event in the batch in the same order.

    command

    actor message (command), if any (otherwise null), for which the event was emitted.

    returns

    context that will be passed to persistEventWritten

    Definition Classes
    EmptyEventsourcedInstrumentationEventsourcedInstrumentation
  5. def persistEventDone(actorRef: ActorRef, context: Context): Unit

    Record event is written and the registered callback is called.

    Record event is written and the registered callback is called.

    actorRef

    the ActorRef for which the event has been successfully persisted.

    context

    context returned by persistEventWritten

    Definition Classes
    EmptyEventsourcedInstrumentationEventsourcedInstrumentation
  6. def persistEventWritten(actorRef: ActorRef, event: Any, context: Context): Context

    Record event is written but the registered callback has not been called yet

    Record event is written but the registered callback has not been called yet

    actorRef

    the ActorRef for which the event has been successfully persisted.

    event

    the event that was stored in the journal.

    context

    context returned by persistEventCalled

    returns

    context that will be passed to persistEventDone

    Definition Classes
    EmptyEventsourcedInstrumentationEventsourcedInstrumentation
  7. def persistFailed(actorRef: ActorRef, throwable: Throwable, event: Any, seqNr: Long, context: Context): Unit

    Record persistence persist failure.

    Record persistence persist failure.

    actorRef

    the ActorRef for which the recovery has failed.

    throwable

    the cause of the failure.

    event

    the event that was to be persisted.

    seqNr

    the sequence number associated with the failure

    context

    context returned by persistEventCalled

    Definition Classes
    EmptyEventsourcedInstrumentationEventsourcedInstrumentation
  8. def persistRejected(actorRef: ActorRef, throwable: Throwable, event: Any, seqNr: Long, context: Context): Unit

    Record persistence persist failure.

    Record persistence persist failure.

    actorRef

    the ActorRef for which the recovery has failed.

    throwable

    the cause of the failure.

    event

    the event that was to be persisted.

    seqNr

    the sequence number associated with the failure

    context

    context returned by persistEventCalled

    Definition Classes
    EmptyEventsourcedInstrumentationEventsourcedInstrumentation
  9. def recoveryDone(actorRef: ActorRef): Unit

    Record persistence recovery done.

    Record persistence recovery done.

    actorRef

    the ActorRef for which the recovery is finished.

    Definition Classes
    EmptyEventsourcedInstrumentationEventsourcedInstrumentation
  10. def recoveryFailed(actorRef: ActorRef, throwable: Throwable, event: Any): Unit

    Record persistence recovery failure.

    Record persistence recovery failure.

    actorRef

    the ActorRef for which the recovery has failed.

    throwable

    the cause of the failure.

    event

    the event that was replayed, if any (otherwise null)

    Definition Classes
    EmptyEventsourcedInstrumentationEventsourcedInstrumentation
  11. def recoveryStarted(actorRef: ActorRef): Unit

    Record persistence recovery started.

    Record persistence recovery started.

    actorRef

    the ActorRef for which the recovery is started.

    Definition Classes
    EmptyEventsourcedInstrumentationEventsourcedInstrumentation