telepath / com.github.giedomak.telepath.memorymanager / MemoryManager

MemoryManager

interface MemoryManager (source)

Functions

add

abstract fun add(paths: Stream<Path>): Long

clear

abstract fun clear(): Unit

get

abstract operator fun get(id: Long): Stream<Path>

set

abstract operator fun set(id: Long, path: Path): Long
abstract operator fun set(id: Long, paths: Stream<Path>): Long

Inheritors

SimpleMemoryManager

object SimpleMemoryManager : MemoryManager

Let all results flow through this memory manager so we have control over the data and caching.