tools / Exports / CacheCleanupScheduler
Class: CacheCleanupScheduler
Utility for periodically executing cache cleanup tasks
Table of contents
Constructors
Methods
Constructors
constructor
• new CacheCleanupScheduler(): CacheCleanupScheduler
Returns
Methods
start
▸ start(cacheManagers
, intervalMs?
): void
Start periodic cache cleanup
Parameters
Name | Type |
---|---|
cacheManagers | CacheManager <any >[] |
intervalMs | number |
Returns
void
Defined in
packages/tools/src/performance/cache-manager.ts:329
stop
▸ stop(): void
Stop periodic cache cleanup
Returns
void