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:
MemoryStoreis requested to evict blocks