c
org.apache.pekko.stream.connectors.reference
ReferenceWriteMessage
Companion object ReferenceWriteMessage
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
- Alphabetic
- By Inheritance
Inherited
- ReferenceWriteMessage
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val data: Seq[ByteString]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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.
- def getMetrics(): Map[String, Long]
Java API
Java API
Java getter needs to return Java Long classes which is converted from Scala Long.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metrics: Map[String, Long]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- ReferenceWriteMessage → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- 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.
- def withData(data: Seq[ByteString]): ReferenceWriteMessage
- 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.
- def withMetrics(metrics: Map[String, Long]): ReferenceWriteMessage