interface RecordManagerInterface {
    createSchema(): Promise<void>;
    deleteKeys(keys): Promise<void>;
    exists(keys): Promise<boolean[]>;
    getTime(): Promise<number>;
    listKeys(options): Promise<string[]>;
    update(keys, updateOptions): Promise<void>;
}

Implemented by

Methods

  • Checks if keys exist in the record manager.

    Parameters

    • keys: string[]

      List of keys to check

    Returns Promise<boolean[]>

    List of booleans indicating if key exists in same order as provided keys

  • Updates keys in the record manager.

    Parameters

    • keys: string[]

      List of keys to update

    • updateOptions: UpdateOptions

    Returns Promise<void>

    Promise

    Throws

    Error if timeAtLeast is provided and current time is less than timeAtLeast

    Throws

    Error if number of keys does not match number of groupIds

Generated using TypeDoc