Package org.apache.spark.storage
Class DiskBlockData
Object
org.apache.spark.storage.DiskBlockData
- All Implemented Interfaces:
 BlockData
- 
Constructor Summary
ConstructorsConstructorDescriptionDiskBlockData(long minMemoryMapBytes, long maxMemoryMapBytes, File file, long blockSize)  - 
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()longsize()org.apache.spark.util.io.ChunkedByteBuffertoChunkedByteBuffer(scala.Function1<Object, ByteBuffer> allocator) toNetty()Returns a Netty-friendly wrapper for the block's data.Returns a Netty-friendly wrapper for the block's data. 
- 
Constructor Details
- 
DiskBlockData
 
 - 
 - 
Method Details
- 
dispose
public void dispose() - 
size
public long size() - 
toByteBuffer
- Specified by:
 toByteBufferin interfaceBlockData
 - 
toChunkedByteBuffer
public org.apache.spark.util.io.ChunkedByteBuffer toChunkedByteBuffer(scala.Function1<Object, ByteBuffer> allocator) - Specified by:
 toChunkedByteBufferin interfaceBlockData
 - 
toInputStream
- Specified by:
 toInputStreamin interfaceBlockData
 - 
toNetty
Returns a Netty-friendly wrapper for the block's data.Please see
ManagedBuffer.convertToNetty()for more details. - 
toNettyForSsl
Returns a Netty-friendly wrapper for the block's data.Please see
ManagedBuffer.convertToNettyForSsl()for more details.- Specified by:
 toNettyForSslin interfaceBlockData- Returns:
 - (undocumented)
 
 
 -