Packages

final class ReferenceWriteMessage extends AnyRef

Use "Write" in message data types to signify that the messages is to be written to outside.

Source
model.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReferenceWriteMessage
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val data: Seq[ByteString]
  2. def getData(): List[ByteString]

    Java API

    Java API

    If the model class is meant to be also consumed from the user API, but the attribute class is Scala specific, create getter for Java API.

  3. def getMetrics(): Map[String, Long]

    Java API

    Java API

    Java getter needs to return Java Long classes which is converted from Scala Long.

  4. val metrics: Map[String, Long]
  5. def toString(): String
    Definition Classes
    ReferenceWriteMessage → AnyRef → Any
  6. def withData(data: List[ByteString]): ReferenceWriteMessage

    Java API

    Java API

    When settings class has an attribute of Scala collection type, create a setter that takes a corresponding Java collection type.

  7. def withData(data: Seq[ByteString]): ReferenceWriteMessage
  8. def withMetrics(metrics: Map[String, Long]): ReferenceWriteMessage

    Java API

    Java API

    When settings class has an attribute of Scala Long class, Java setter needs to take Java Long class and convert to Scala Long.

  9. def withMetrics(metrics: Map[String, Long]): ReferenceWriteMessage