UNPKG

xypriss-security

Version:

Advanced High-Performance Security Framework. Military-grade encryption, post-quantum resilience, and fortified data structures.

31 lines 990 B
import { CachedData, CacheOptions, CacheStats, MemoryCacheEntry } from "./cache.type"; export interface UltraMemoryCacheEntry extends MemoryCacheEntry { hotness: number; priority: number; tags: Set<string>; metadata: Record<string, any>; checksum: string; } export interface UltraCacheOptions extends CacheOptions { priority?: number; tags?: string[]; metadata?: Record<string, any>; skipEncryption?: boolean; skipCompression?: boolean; onEvict?: (key: string, value: CachedData) => void; } export interface UltraStats extends CacheStats { averageAccessTime: number; compressionRatio: number; encryptionOverhead: number; hotKeys: string[]; coldKeys: string[]; tagStats: Map<string, number>; } export interface FastLRUConfig { capacity: number; ttl?: number; enableStats?: boolean; onEvict?: (key: string, entry: MemoryCacheEntry | UltraMemoryCacheEntry) => void; } //# sourceMappingURL=UFSIMC.type.d.ts.map