Trait

molecule

LowPrioMessageImplicits

Related Doc: package molecule

Permalink

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.

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

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit def anyRefMessage[A <: AnyRef]: Message[A]

    Permalink

    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
  5. implicit def anyValMessage[A <: AnyVal]: Message[A]

    Permalink

    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
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

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

    Permalink
  20. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped