trait EventsourcedInstrumentation extends AnyRef
INTERNAL API: Instrumentation SPI for PersistentActor.
- Annotations
 - @InternalStableApi()
 - Source
 - EventsourcedInstrumentation.scala
 
- Alphabetic
 - By Inheritance
 
- EventsourcedInstrumentation
 - AnyRef
 - Any
 
- by any2stringadd
 - by StringFormat
 - by Ensuring
 - by ArrowAssoc
 
- Hide All
 - Show All
 
- Public
 - Protected
 
Abstract Value Members
-   abstract  def afterRequestRecoveryPermit(actorRef: ActorRef, context: Context): Unit
Record after a recovery permit is requested.
Record after a recovery permit is requested.
- actorRef
 the
ActorReffor which the recovery permit is requested- context
 returned by
beforeRequestRecoveryPermit
 -   abstract  def beforeRequestRecoveryPermit(actorRef: ActorRef): Context
Record before a recovery permit is requested.
Record before a recovery permit is requested.
- actorRef
 the
ActorReffor which the recovery permit is about to be requested- returns
 context that will be passed to
afterRequestRecoveryPermit
 -   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
 -   abstract  def persistEventCalled(actorRef: ActorRef, event: Any, command: Any): Context
Record persist event.
Record persist event.
- actorRef
 the
ActorReffor 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
 -   abstract  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
ActorReffor which the event has been successfully persisted.- context
 context returned by
persistEventWritten
 -   abstract  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
ActorReffor 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
 -   abstract  def persistFailed(actorRef: ActorRef, throwable: Throwable, event: Any, seqNr: Long, context: Context): Unit
Record persistence persist failure.
Record persistence persist failure.
- actorRef
 the
ActorReffor 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
 -   abstract  def persistRejected(actorRef: ActorRef, throwable: Throwable, event: Any, seqNr: Long, context: Context): Unit
Record persistence persist failure.
Record persistence persist failure.
- actorRef
 the
ActorReffor 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
 -   abstract  def recoveryDone(actorRef: ActorRef): Unit
Record persistence recovery done.
Record persistence recovery done.
- actorRef
 the
ActorReffor which the recovery is finished.
 -   abstract  def recoveryFailed(actorRef: ActorRef, throwable: Throwable, event: Any): Unit
Record persistence recovery failure.
Record persistence recovery failure.
- actorRef
 the
ActorReffor which the recovery has failed.- throwable
 the cause of the failure.
- event
 the event that was replayed, if any (otherwise null)
 -   abstract  def recoveryStarted(actorRef: ActorRef): Unit
Record persistence recovery started.
Record persistence recovery started.
- actorRef
 the
ActorReffor which the recovery is started.
 
Concrete Value Members
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##: Int
- Definition Classes
 - AnyRef → Any
 
 -    def +(other: String): String
- Implicit
 - This member is added by an implicit conversion from EventsourcedInstrumentation toany2stringadd[EventsourcedInstrumentation] performed by method any2stringadd in scala.Predef.
 - Definition Classes
 - any2stringadd
 
 -    def ->[B](y: B): (EventsourcedInstrumentation, B)
- Implicit
 - This member is added by an implicit conversion from EventsourcedInstrumentation toArrowAssoc[EventsourcedInstrumentation] performed by method ArrowAssoc in scala.Predef.
 - Definition Classes
 - ArrowAssoc
 - Annotations
 - @inline()
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
 
 -    def ensuring(cond: (EventsourcedInstrumentation) => Boolean, msg: => Any): EventsourcedInstrumentation
- Implicit
 - This member is added by an implicit conversion from EventsourcedInstrumentation toEnsuring[EventsourcedInstrumentation] performed by method Ensuring in scala.Predef.
 - Definition Classes
 - Ensuring
 
 -    def ensuring(cond: (EventsourcedInstrumentation) => Boolean): EventsourcedInstrumentation
- Implicit
 - This member is added by an implicit conversion from EventsourcedInstrumentation toEnsuring[EventsourcedInstrumentation] performed by method Ensuring in scala.Predef.
 - Definition Classes
 - Ensuring
 
 -    def ensuring(cond: Boolean, msg: => Any): EventsourcedInstrumentation
- Implicit
 - This member is added by an implicit conversion from EventsourcedInstrumentation toEnsuring[EventsourcedInstrumentation] performed by method Ensuring in scala.Predef.
 - Definition Classes
 - Ensuring
 
 -    def ensuring(cond: Boolean): EventsourcedInstrumentation
- Implicit
 - This member is added by an implicit conversion from EventsourcedInstrumentation toEnsuring[EventsourcedInstrumentation] performed by method Ensuring in scala.Predef.
 - Definition Classes
 - Ensuring
 
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    def equals(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @HotSpotIntrinsicCandidate() @native()
 
 -    def hashCode(): Int
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @HotSpotIntrinsicCandidate() @native()
 
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @HotSpotIntrinsicCandidate() @native()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @HotSpotIntrinsicCandidate() @native()
 
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    def toString(): String
- Definition Classes
 - AnyRef → Any
 
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 
Deprecated Value Members
-    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable]) @Deprecated
 - Deprecated
 (Since version 9)
 -    def formatted(fmtstr: String): String
- Implicit
 - This member is added by an implicit conversion from EventsourcedInstrumentation toStringFormat[EventsourcedInstrumentation] performed by method StringFormat in scala.Predef.
 - Definition Classes
 - StringFormat
 - Annotations
 - @deprecated @inline()
 - Deprecated
 (Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
 -    def →[B](y: B): (EventsourcedInstrumentation, B)
- Implicit
 - This member is added by an implicit conversion from EventsourcedInstrumentation toArrowAssoc[EventsourcedInstrumentation] 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.