1 | import { ICacheStats } from './interfaces';
|
2 | export declare const instances: {};
|
3 | export declare let config: any;
|
4 | export declare function setTesting(testing: boolean): void;
|
5 | export interface ICache {
|
6 | put: Function;
|
7 | get: Function;
|
8 | getEdit: Function;
|
9 | evict: Function;
|
10 | reset: Function;
|
11 | size: Function;
|
12 | length: Function;
|
13 | print: Function;
|
14 | }
|
15 | export declare function getCache(instanceName?: string, configuration?: {}): ICache;
|
16 | export declare const put: (item: {} | {}[]) => void;
|
17 | export declare const get: (entity: string | number | {} | any[], nodeId?: number) => any;
|
18 | export declare const getEdit: (uidOrEntityOrArray: string | number | {} | any[], nodeId?: number) => any;
|
19 | export declare const evict: (uidOrEntityOrArray: string | number | {} | any[]) => ICacheStats;
|
20 | export declare const print: () => string;
|
21 | export declare const reset: () => void;
|
22 | export declare const uuid: () => string;
|