InMemoryChunkHistoryStore

Thread-safe in-memory implementation for testing. Not intended for production use.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun clearAll()

Remove all history across every context. Default no-op for backward compatibility.

Link copied to clipboard
open override fun clearByContext(contextId: <Error class: unknown class>)

Remove all history for the given context. Default no-op for backward compatibility.

Link copied to clipboard
open override fun getLastBookmark(key: BookmarkKey): AnalysisBookmark?

Get the last AnalysisBookmark for a source within a context.

Link copied to clipboard
open override fun isProcessed(key: HashKey): Boolean

Check if content with the given hash has already been processed in a context.

Link copied to clipboard
open override fun recordProcessed(record: ProcessedChunkRecord)

Record that a chunk has been processed.