Skip to content

apollo-code


apollo-code / storage/src / MemoryIndexMaintenance

Interface: MemoryIndexMaintenance

Methods

clearDirty()

clearDirty(): Promise<void>

Returns

Promise<void>


health()

health(records?): Promise<MemoryIndexHealth>

Parameters

records?

readonly MemoryRecord[]

Returns

Promise<MemoryIndexHealth>


markDirty()

markDirty(reason): Promise<void>

Parameters

reason

string

Returns

Promise<void>


reindex()

reindex(records, options?): Promise<MemoryReindexReport>

Parameters

records

readonly MemoryRecord[]

options?

MemoryReindexOptions

Returns

Promise<MemoryReindexReport>