public interface BlockData
dispose() when they're done with the block.| Modifier and Type | Method and Description | 
|---|---|
| void | dispose() | 
| long | size() | 
| java.nio.ByteBuffer | toByteBuffer() | 
| org.apache.spark.util.io.ChunkedByteBuffer | toChunkedByteBuffer(scala.Function1<Object,java.nio.ByteBuffer> allocator) | 
| java.io.InputStream | toInputStream() | 
| Object | toNetty()Returns a Netty-friendly wrapper for the block's data. | 
void dispose()
long size()
java.nio.ByteBuffer toByteBuffer()
org.apache.spark.util.io.ChunkedByteBuffer toChunkedByteBuffer(scala.Function1<Object,java.nio.ByteBuffer> allocator)
java.io.InputStream toInputStream()
Object toNetty()
 Please see ManagedBuffer.convertToNetty() for more details.