BlockEvictionHandler¶
BlockEvictionHandler
is an abstraction of block eviction handlers that can drop blocks from memory.
Contract¶
Dropping Block from Memory¶
dropFromMemory[T: ClassTag](
blockId: BlockId,
data: () => Either[Array[T], ChunkedByteBuffer]): StorageLevel
Used when:
MemoryStore
is requested to evict blocks