molecule

LowPrioMessageImplicits

trait LowPrioMessageImplicits extends LowestPrioMessageImplicits

The LowPrioMessageImplicits trait provides implicit objects of type Message[T[A]] for a number of general typed classes, but that are (or can be) partially overridden by higher-priority conversions in the object Message, or custom objects.

Currently only Traversable[A] is covered, which does cover (almost) the whole Scala colletion library. Take care when using Java collections. Even if you would import scala.collection.JavaConversions._, the Java collections would get augmented with Scala collection operators, but the implicit Message[T[A]] will not be found and Message[AnyRef] will be taken as defined in LowestPrioMessageImplicits. So, either you have to define the implicit in your custom object add it to this trait.

Source
Message.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. LowPrioMessageImplicits
  2. LowestPrioMessageImplicits
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. implicit def anyRefMessage[A <: AnyRef]: Message[A]

    Defines an implicit Message[A] for any type A <: AnyRef unless overridden by a higher-priority conversion of type implicit def bMessage[A <: B]: Message[A]

    Defines an implicit Message[A] for any type A <: AnyRef unless overridden by a higher-priority conversion of type implicit def bMessage[A <: B]: Message[A]

    returns

    PureMessage, which means that an object of type A is assumed NOT to carry resources, that should be cleaned-up when a channel of type A gets poisoned.

    In the object Message a number of more specific implicit messages are defined, but in case you define your own class embedding resources, it is your own responsibility to define an implicit object implementing the abstract class Message in which you customize the clean-up.

    Definition Classes
    LowestPrioMessageImplicits
  7. implicit def anyValMessage[A <: AnyVal]: Message[A]

    Defines an implicit Message[A] for any type A <: AnyVal for which there is no implicit in scope defined as implicit def bMessage[A <: B]: Message[A]

    Defines an implicit Message[A] for any type A <: AnyVal for which there is no implicit in scope defined as implicit def bMessage[A <: B]: Message[A]

    returns

    PureMessage

    classes of type AnyVal are not supposed to carry resources, that require customized cleanup, still bear in mind the remark made at def anyRefMessage in case you would make your custom Val types.

    Definition Classes
    LowestPrioMessageImplicits
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

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

    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. def toString(): String

    Definition Classes
    AnyRef → Any
  21. implicit def traversableIsMessage[CC[A] <: Traversable[A], A](implicit ma: Message[A]): Message[CC[A]]

  22. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  24. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any