Class

akka.actor.MDCContextAware.Implicits

ContextLocalAwareActorRef

Related Doc: package Implicits

Permalink

implicit final class ContextLocalAwareActorRef extends AnyVal

Add two new methods that allow MDC info to be passed to MDCContextAware actors.

Do NOT use these methods to send to actors that are not MDCContextAware.

Source
MDCContextAware.scala
Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContextLocalAwareActorRef
  2. AnyVal
  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. All

Instance Constructors

  1. new ContextLocalAwareActorRef(ref: ActorRef)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. def !>(msg: Any)(implicit context: ActorContext): Unit

    Permalink

    Send a message to an actor that is MDCContextAware - it will propagate the current MDC values.

    Send a message to an actor that is MDCContextAware - it will propagate the current MDC values. Note: we MUST capture the ActorContext in order for senders to be correct! This was a bug from the original author.

  3. final def ##(): Int

    Permalink
    Definition Classes
    Any
  4. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ContextLocalAwareActorRef to any2stringadd[ContextLocalAwareActorRef] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (ContextLocalAwareActorRef, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ContextLocalAwareActorRef to ArrowAssoc[ContextLocalAwareActorRef] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  7. def ?>(msg: Any)(implicit context: ActorContext, timeout: Timeout): Future[Any]

    Permalink

    "Ask" an actor that is MDCContextAware for something - it will propagate the current MDC values

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def ensuring(cond: (ContextLocalAwareActorRef) ⇒ Boolean, msg: ⇒ Any): ContextLocalAwareActorRef

    Permalink
    Implicit information
    This member is added by an implicit conversion from ContextLocalAwareActorRef to Ensuring[ContextLocalAwareActorRef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (ContextLocalAwareActorRef) ⇒ Boolean): ContextLocalAwareActorRef

    Permalink
    Implicit information
    This member is added by an implicit conversion from ContextLocalAwareActorRef to Ensuring[ContextLocalAwareActorRef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): ContextLocalAwareActorRef

    Permalink
    Implicit information
    This member is added by an implicit conversion from ContextLocalAwareActorRef to Ensuring[ContextLocalAwareActorRef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): ContextLocalAwareActorRef

    Permalink
    Implicit information
    This member is added by an implicit conversion from ContextLocalAwareActorRef to Ensuring[ContextLocalAwareActorRef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ContextLocalAwareActorRef to StringFormat[ContextLocalAwareActorRef] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  14. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val ref: ActorRef

    Permalink
  17. def toString(): String

    Permalink
    Definition Classes
    Any
  18. def [B](y: B): (ContextLocalAwareActorRef, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ContextLocalAwareActorRef to ArrowAssoc[ContextLocalAwareActorRef] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion any2stringadd from ContextLocalAwareActorRef to any2stringadd[ContextLocalAwareActorRef]

Inherited by implicit conversion StringFormat from ContextLocalAwareActorRef to StringFormat[ContextLocalAwareActorRef]

Inherited by implicit conversion Ensuring from ContextLocalAwareActorRef to Ensuring[ContextLocalAwareActorRef]

Inherited by implicit conversion ArrowAssoc from ContextLocalAwareActorRef to ArrowAssoc[ContextLocalAwareActorRef]

Ungrouped