case class Request(requestID: Int, responseTo: Int, op: RequestOp, documents: BufferSequence, readPreference: ReadPreference = ReadPreference.primary, channelIdHint: Option[ChannelId] = None) extends ChannelBufferWritable with Product with Serializable
Request message.
- requestID
the ID of this request, so that the response may be identifiable. Should be strictly positive.
- op
request operation.
- documents
body of this request, a ByteBuf containing 0, 1, or many documents.
- channelIdHint
a hint for sending this request on a particular channel.
- Annotations
- @deprecated
- Deprecated
(Since version 0.20.3) Internal: will be made private
- Alphabetic
- By Inheritance
- Request
- Serializable
- Product
- Equals
- ChannelBufferWritable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Request(requestID: Int, responseTo: Int, op: RequestOp, documents: BufferSequence, readPreference: ReadPreference = ReadPreference.primary, channelIdHint: Option[ChannelId] = None)
- requestID
the ID of this request, so that the response may be identifiable. Should be strictly positive.
- op
request operation.
- documents
body of this request, a ByteBuf containing 0, 1, or many documents.
- channelIdHint
a hint for sending this request on a particular channel.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Request, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val channelIdHint: Option[ChannelId]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val documents: BufferSequence
- def ensuring(cond: (Request) => Boolean, msg: => Any): Request
- def ensuring(cond: (Request) => Boolean): Request
- def ensuring(cond: Boolean, msg: => Any): Request
- def ensuring(cond: Boolean): Request
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- lazy val header: MessageHeader
Header of this request
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val op: RequestOp
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val readPreference: ReadPreference
- val requestID: Int
- val responseTo: Int
- def size: Int
Size of the content that would be written.
Size of the content that would be written.
- Definition Classes
- Request → ChannelBufferWritable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Request → 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()
- val writeTo: (ByteBuf) => Unit
Write this instance into the given ByteBuf.
Write this instance into the given ByteBuf.
- Definition Classes
- Request → ChannelBufferWritable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
- def →[B](y: B): (Request, B)
- Implicit
- This member is added by an implicit conversion from Request toArrowAssoc[Request] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.