mes-engine
Version:
A powerful and flexible video processing framework for Node.js with support for multiple processing engines, adaptive streaming, and intelligent caching.
14 lines (13 loc) • 509 B
TypeScript
import { CacheStrategy, CacheOptions } from './cacheStrategy';
import { StorageProvider } from '../storage/StorageProvider';
export declare class InternalCache extends CacheStrategy {
private cache;
private options;
private storage;
constructor(options: CacheOptions, storage: StorageProvider);
set(key: string, value: Buffer): Promise<void>;
get(key: string): Promise<Buffer | null>;
preload(key: string): Promise<void>;
clear(): Promise<void>;
private getNextChunkKey;
}