public interface BlockEvictionHandler
Modifier and Type | Method and Description |
---|---|
<T> StorageLevel |
dropFromMemory(BlockId blockId,
scala.Function0<scala.util.Either<Object,org.apache.spark.util.io.ChunkedByteBuffer>> data,
scala.reflect.ClassTag<T> evidence$1)
Drop a block from memory, possibly putting it on disk if applicable.
|
<T> StorageLevel dropFromMemory(BlockId blockId, scala.Function0<scala.util.Either<Object,org.apache.spark.util.io.ChunkedByteBuffer>> data, scala.reflect.ClassTag<T> evidence$1)
If data
is not put on disk, it won't be created.
The caller of this method must hold a write lock on the block before calling this method. This method does not release the write lock.
blockId
- (undocumented)data
- (undocumented)evidence$1
- (undocumented)