levelcache/ts/levelcache.classes.cacherouter.ts

22 lines
505 B
TypeScript
Raw Normal View History

2020-02-14 18:10:10 +00:00
import * as plugins from './levelcache.plugins';
2020-02-15 22:38:28 +00:00
import { LevelCache } from './levelcache.classes.levelcache';
2020-02-14 18:10:10 +00:00
export class CacheRouter {
2020-02-15 22:38:28 +00:00
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() {}
}