Packages

final case class Attributes(attributeList: List[Attribute] = Nil) extends Product with Serializable

Holds attributes which can be used to alter akka.stream.scaladsl.Flow / akka.stream.javadsl.Flow or akka.stream.scaladsl.GraphDSL / akka.stream.javadsl.GraphDSL materialization.

Note that more attributes for the ActorMaterializer are defined in ActorAttributes.

Source
Attributes.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Attributes
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. 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 Attributes(attributeList: List[Attribute] = Nil)

Value Members

  1. def and(other: Attribute): Attributes

    Adds given attribute to the end of these attributes.

  2. def and(other: Attributes): Attributes

    Adds given attributes to the end of these attributes.

  3. val attributeList: List[Attribute]
  4. def contains(attr: Attribute): Boolean

    Test whether the given attribute is contained within this attributes list.

  5. def filtered[T <: Attribute](implicit arg0: ClassTag[T]): List[T]

    Scala API: get all attributes of a given type (or subtypes thereof).

  6. def get[T <: Attribute](implicit arg0: ClassTag[T]): Option[T]

    Scala API: Get the last (most specific) attribute of a given type parameter T Class or subclass thereof.

  7. def get[T <: Attribute](default: T)(implicit arg0: ClassTag[T]): T

    Scala API: Get the last (most specific) attribute of a given type parameter T Class or subclass thereof.

    Scala API: Get the last (most specific) attribute of a given type parameter T Class or subclass thereof. If no such attribute exists the default value is returned.

  8. def getAttribute[T <: Attribute](c: Class[T]): Optional[T]

    Java API: Get the last (most specific) attribute of a given Class or subclass thereof.

  9. def getAttribute[T <: Attribute](c: Class[T], default: T): T

    Java API: Get the last (most specific) attribute of a given Class or subclass thereof.

    Java API: Get the last (most specific) attribute of a given Class or subclass thereof. If no such attribute exists the default value is returned.

  10. def getAttributeList[T <: Attribute](c: Class[T]): List[T]

    Java API: Get all attributes of a given Class or subclass thereof.

  11. def getAttributeList(): List[Attribute]

    Java API

  12. def getFirst[T <: Attribute](implicit arg0: ClassTag[T]): Option[T]

    Scala API: Get the first (least specific) attribute of a given type parameter T Class or subclass thereof.

  13. def getFirst[T <: Attribute](default: T)(implicit arg0: ClassTag[T]): T

    Scala API: Get the first (least specific) attribute of a given type parameter T Class or subclass thereof.

    Scala API: Get the first (least specific) attribute of a given type parameter T Class or subclass thereof. If no such attribute exists the default value is returned.

  14. def getFirstAttribute[T <: Attribute](c: Class[T]): Optional[T]

    Java API: Get the first (least specific) attribute of a given Class or subclass thereof.

  15. def getFirstAttribute[T <: Attribute](c: Class[T], default: T): T

    Java API: Get the first (least specific) attribute of a given Class or subclass thereof.

    Java API: Get the first (least specific) attribute of a given Class or subclass thereof. If no such attribute exists the default value is returned.

  16. def nameLifted: Option[String]

    Extracts Name attributes and concatenates them.

  17. def nameOrDefault(default: String = "unknown-operation"): String

    INTERNAL API