22 lines
505 B
TypeScript
22 lines
505 B
TypeScript
import * as plugins from './levelcache.plugins';
|
|
import { LevelCache } from './levelcache.classes.levelcache';
|
|
|
|
export class CacheRouter {
|
|
public levelCacheRef: LevelCache;
|
|
public cacheMap;
|
|
|
|
constructor(levelCacheRef: LevelCache) {
|
|
this.levelCacheRef = levelCacheRef;
|
|
}
|
|
|
|
/**
|
|
* gets the relevant cache to perform a store action on
|
|
*/
|
|
async getCacheForStoreAction() {}
|
|
|
|
/**
|
|
* gets the relevant cache to perform a retrieval action on
|
|
*/
|
|
async getCacheForRetrieveAction() {}
|
|
}
|