c

org.apache.spark.network.protocol

ChunkFetchSuccess

final class ChunkFetchSuccess extends AbstractResponseMessage

Response to ChunkFetchRequest when a chunk exists and has been successfully fetched.

Note that the server-side encoding of this messages does NOT include the buffer itself, as this may be written by Netty in a more efficient manner (i.e., zero-copy write). Similarly, the client-side decoding will reuse the Netty ByteBuf as the buffer.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChunkFetchSuccess
  2. AbstractResponseMessage
  3. ResponseMessage
  4. AbstractMessage
  5. Message
  6. Encodable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ChunkFetchSuccess(streamChunkId: StreamChunkId, buffer: ManagedBuffer)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def body(): ManagedBuffer

    An optional body for the message.

    An optional body for the message.

    Definition Classes
    AbstractMessageMessage
    Annotations
    @Override()
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def createFailureResponse(error: String): ResponseMessage
    Definition Classes
    ChunkFetchSuccessAbstractResponseMessage
    Annotations
    @Override()
  8. def encode(buf: ByteBuf): Unit

    Encoding does NOT include 'buffer' itself.

    Encoding does NOT include 'buffer' itself. See MessageEncoder.

    Definition Classes
    ChunkFetchSuccessEncodable
    Annotations
    @Override()
  9. def encodedLength(): Int

    Number of bytes of the encoded form of this object.

    Number of bytes of the encoded form of this object.

    Definition Classes
    ChunkFetchSuccessEncodable
    Annotations
    @Override()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(other: AnyRef): Boolean
    Definition Classes
    ChunkFetchSuccess → AnyRef → Any
    Annotations
    @Override()
  12. def equals(other: AbstractMessage): Boolean
    Attributes
    protected[protocol]
    Definition Classes
    AbstractMessage
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    ChunkFetchSuccess → AnyRef → Any
    Annotations
    @Override()
  16. def isBodyInFrame(): Boolean

    Whether to include the body of the message in the same frame as the message.

    Whether to include the body of the message in the same frame as the message.

    Definition Classes
    AbstractMessageMessage
    Annotations
    @Override()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    ChunkFetchSuccess → AnyRef → Any
    Annotations
    @Override()
  23. def type(): Type

    Used to identify this request type.

    Used to identify this request type.

    Definition Classes
    ChunkFetchSuccessMessage
    Annotations
    @Override()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ResponseMessage

Inherited from AbstractMessage

Inherited from Message

Inherited from Encodable

Inherited from AnyRef

Inherited from Any

Ungrouped