ManagedBuffer

ManagedBuffer is the base of…​FIXME

package org.apache.spark.network.buffer;

abstract class ManagedBuffer {
  abstract long size();
  abstract ByteBuffer nioByteBuffer() throws IOException;
  abstract InputStream createInputStream() throws IOException;
  abstract ManagedBuffer retain();
  abstract ManagedBuffer release();
  abstract Object convertToNetty() throws IOException;
}
Table 1. ManagedBuffer Contract
Method Description

size

Used when…​FIXME

nioByteBuffer

Used when…​FIXME

createInputStream

Used when…​FIXME

retain

Used when…​FIXME

release

Used when…​FIXME

convertToNetty

Used when…​FIXME

Table 2. ManagedBuffers
ManagedBuffer Description

BlockManagerManagedBuffer

FileSegmentManagedBuffer

NettyManagedBuffer

NioManagedBuffer

results matching ""

    No results matching ""