object EmptyDurableStateBehaviorInstrumentation extends EmptyDurableStateBehaviorInstrumentation

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EmptyDurableStateBehaviorInstrumentation
  2. EmptyDurableStateBehaviorInstrumentation
  3. DurableStateBehaviorInstrumentation
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def actorInitialized(actorRef: ActorRef[_]): Unit

    Initialize state for an EventSourcedBehavior actor.

    Initialize state for an EventSourcedBehavior actor.

    Definition Classes
    DurableStateBehaviorInstrumentation
  2. 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
    DurableStateBehaviorInstrumentation
  3. 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
    DurableStateBehaviorInstrumentation
  4. def deleteStateCalled(actorRef: ActorRef[_], command: Any): Context

    Record delete state.

    Record delete state.

    actorRef

    the ActorRef for which the delete state will be sent to the store.

    command

    actor message (command) for which the state update was emitted.

    returns

    context that will be passed to persistStateWritten

    Definition Classes
    DurableStateBehaviorInstrumentation
  5. 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
    DurableStateBehaviorInstrumentation
  6. def persistFailed(actorRef: ActorRef[_], throwable: Throwable, state: Any, revision: 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.

    state

    the state that was to be persisted.

    revision

    the sequence number associated with the failure

    context

    context returned by persistStateCalled

    Definition Classes
    DurableStateBehaviorInstrumentation
  7. def persistStateCalled(actorRef: ActorRef[_], state: Any, command: Any): Context

    Record persist state.

    Record persist state.

    actorRef

    the ActorRef for which the state will be sent to the store.

    state

    the state that was submitted for persistence.

    command

    actor message (command) for which the state update was emitted.

    returns

    context that will be passed to persistStateWritten

    Definition Classes
    DurableStateBehaviorInstrumentation
  8. def persistStateDone(actorRef: ActorRef[_], context: Context): Unit

    Record state is written and the registered callback is called.

    Record state is written and the registered callback is called.

    actorRef

    the ActorRef for which the state has been successfully persisted.

    context

    context returned by persistStateWritten

    Definition Classes
    DurableStateBehaviorInstrumentation
  9. def persistStateWritten(actorRef: ActorRef[_], state: Any, context: Context): Context

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

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

    actorRef

    the ActorRef for which the state has been successfully persisted.

    state

    the state that was stored in the journal.

    context

    context returned by persistStateCalled

    returns

    context that will be passed to persistStateDone

    Definition Classes
    DurableStateBehaviorInstrumentation
  10. def recoveryDone(actorRef: ActorRef[_]): Unit

    Record persistence recovery done.

    Record persistence recovery done.

    actorRef

    the ActorRef for which the recovery is finished.

    Definition Classes
    DurableStateBehaviorInstrumentation
  11. def recoveryFailed(actorRef: ActorRef[_], throwable: Throwable): Unit

    Record persistence recovery failure.

    Record persistence recovery failure.

    actorRef

    the ActorRef for which the recovery has failed.

    throwable

    the cause of the failure.

    Definition Classes
    DurableStateBehaviorInstrumentation
  12. def recoveryStarted(actorRef: ActorRef[_]): Unit

    Record persistence recovery started.

    Record persistence recovery started.

    actorRef

    the ActorRef for which the recovery is started.

    Definition Classes
    DurableStateBehaviorInstrumentation