Packages

c

akka.actor.MDCContextAware.Implicits

ContextLocalAwareActorRef

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
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ContextLocalAwareActorRef(ref: ActorRef)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. def !>(msg: Any)(implicit context: ActorContext): Unit

    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
    Definition Classes
    Any
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  5. def ?>(msg: Any)(implicit context: ActorContext, timeout: Timeout): Future[Any]

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

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. val ref: ActorRef
  10. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped