object SimpleMemoryManager : MemoryManager
(source)
Let all results flow through this memory manager so we have control over the data and caching.
fun add(paths: Stream<Path>): Long |
|
fun clear(): Unit
Clear all stored data from the SimpleMemoryManager, temp files will be deleted on JVM exit. |
|
fun fitsIntoMemory(partition: List<Path>): Boolean
Boolean value indicating if our new partition will fit into memory. |
|
operator fun get(id: Long): Stream<Path> |
|
operator fun set(id: Long, path: Path): Long operator fun set(id: Long, paths: Stream<Path>): Long |