fix(core): update
This commit is contained in:
@@ -1,16 +1,22 @@
|
||||
import * as plugins from './levelcache.plugins';
|
||||
import { CacheDiskManager } from './levelcache.classes.cache.diskmanager';
|
||||
import { CacheMemoryManager } from './levelcache.classes.cache.memorymanager';
|
||||
import { CacheS3Manager } from './levelcache.classes.cache.s3manager';
|
||||
|
||||
/**
|
||||
* a leveled cache for storing things for a short time
|
||||
*/
|
||||
export class LevelCache {
|
||||
public cacheMap = new plugins.lik.Objectmap();
|
||||
public cacheDiskManager = new CacheDiskManager();
|
||||
public cacheMemoryManager = new CacheMemoryManager();
|
||||
public cacheS3Manager = new CacheS3Manager();
|
||||
|
||||
// Blobs
|
||||
/**
|
||||
* store a Blob
|
||||
*/
|
||||
public async storeBlob () {};
|
||||
public async storeBlobByKey () {};
|
||||
|
||||
/**
|
||||
* retrieve a blob
|
||||
@@ -18,12 +24,19 @@ export class LevelCache {
|
||||
public async retrieveBlob () {};
|
||||
|
||||
|
||||
// Cachen Entries
|
||||
// Cache Entries
|
||||
/**
|
||||
* store a Cache Entries
|
||||
*/
|
||||
public async storeCacheEntry() {};
|
||||
|
||||
/**
|
||||
* retrieve cache entry
|
||||
*/
|
||||
public async retrieveCacheEntry () {};
|
||||
|
||||
public clean() {}
|
||||
/**
|
||||
* cleans the cache
|
||||
*/
|
||||
public clean() {};
|
||||
}
|
||||
|
Reference in New Issue
Block a user