UNPKG

flexmonster-mongo-connector

Version:

MongoDB connector for Flexmonster Pivot Table and Charts

16 lines (15 loc) 484 B
import { IRegister } from './IRegister'; export declare class Register<Key, Value> implements IRegister<Key, Value> { private _storage; private _capacity; private readonly _delay; private readonly _startingCapacity; constructor(); addItem(key: Key, item: Value): void; hasItem(key: Key): boolean; getItem(key: Key): Value; deleteItem(key: Key): Value; isEmpty(): boolean; private clearOutdated; private changeCapacity; }