trait DurableStateBehaviorInstrumentation extends AnyRef

INTERNAL API: Instrumentation SPI for DurableStateBehavior.

Annotations
@InternalStableApi()
Source
DurableStateBehaviorInstrumentation.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DurableStateBehaviorInstrumentation
  2. AnyRef
  3. 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

Abstract Value Members

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

    Initialize state for an EventSourcedBehavior actor.

  2. abstract 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

  3. abstract 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

  4. abstract 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

  5. abstract 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

  6. abstract 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

  7. abstract 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

  8. abstract 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

  9. abstract 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

  10. abstract def recoveryDone(actorRef: ActorRef[_]): Unit

    Record persistence recovery done.

    Record persistence recovery done.

    actorRef

    the ActorRef for which the recovery is finished.

  11. abstract 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.

  12. abstract def recoveryStarted(actorRef: ActorRef[_]): Unit

    Record persistence recovery started.

    Record persistence recovery started.

    actorRef

    the ActorRef for which the recovery is started.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from DurableStateBehaviorInstrumentation toany2stringadd[DurableStateBehaviorInstrumentation] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DurableStateBehaviorInstrumentation, B)
    Implicit
    This member is added by an implicit conversion from DurableStateBehaviorInstrumentation toArrowAssoc[DurableStateBehaviorInstrumentation] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  8. def ensuring(cond: (DurableStateBehaviorInstrumentation) => Boolean, msg: => Any): DurableStateBehaviorInstrumentation
    Implicit
    This member is added by an implicit conversion from DurableStateBehaviorInstrumentation toEnsuring[DurableStateBehaviorInstrumentation] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (DurableStateBehaviorInstrumentation) => Boolean): DurableStateBehaviorInstrumentation
    Implicit
    This member is added by an implicit conversion from DurableStateBehaviorInstrumentation toEnsuring[DurableStateBehaviorInstrumentation] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: => Any): DurableStateBehaviorInstrumentation
    Implicit
    This member is added by an implicit conversion from DurableStateBehaviorInstrumentation toEnsuring[DurableStateBehaviorInstrumentation] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): DurableStateBehaviorInstrumentation
    Implicit
    This member is added by an implicit conversion from DurableStateBehaviorInstrumentation toEnsuring[DurableStateBehaviorInstrumentation] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from DurableStateBehaviorInstrumentation toStringFormat[DurableStateBehaviorInstrumentation] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (DurableStateBehaviorInstrumentation, B)
    Implicit
    This member is added by an implicit conversion from DurableStateBehaviorInstrumentation toArrowAssoc[DurableStateBehaviorInstrumentation] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromDurableStateBehaviorInstrumentation to any2stringadd[DurableStateBehaviorInstrumentation]

Inherited by implicit conversion StringFormat fromDurableStateBehaviorInstrumentation to StringFormat[DurableStateBehaviorInstrumentation]

Inherited by implicit conversion Ensuring fromDurableStateBehaviorInstrumentation to Ensuring[DurableStateBehaviorInstrumentation]

Inherited by implicit conversion ArrowAssoc fromDurableStateBehaviorInstrumentation to ArrowAssoc[DurableStateBehaviorInstrumentation]

Ungrouped