ManagedBuffer

ManagedBuffer is the abstraction of FIXMEs that FIXME.

Contract

Method Description

convertToNetty

Object convertToNetty()

Used exclusively when MessageEncoder is requested to encode a message

createInputStream

InputStream createInputStream()

Used exclusively when ShuffleBlockFetcherIterator is requested to retrieve the next element

nioByteBuffer

ByteBuffer nioByteBuffer()

Used when…​FIXME

release

ManagedBuffer release()

Used when…​FIXME

retain

ManagedBuffer retain()

Used when:

size

long size()

Number of bytes of the data

Used when…​FIXME

Available ManagedBuffers

ManagedBuffer Description

BlockManagerManagedBuffer

EncryptedManagedBuffer

FileSegmentManagedBuffer

NettyManagedBuffer

NioManagedBuffer