layercache 1.2.6 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{edge-DLstcDMn.d.cts → edge-BMmPVqaD.d.cts} +2 -13
- package/dist/{edge-DLstcDMn.d.ts → edge-BMmPVqaD.d.ts} +2 -13
- package/dist/edge.d.cts +1 -1
- package/dist/edge.d.ts +1 -1
- package/dist/index.cjs +552 -436
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +393 -277
- package/package.json +1 -1
- package/packages/nestjs/dist/index.cjs +549 -435
- package/packages/nestjs/dist/index.d.cts +2 -13
- package/packages/nestjs/dist/index.d.ts +2 -13
- package/packages/nestjs/dist/index.js +549 -435
|
@@ -426,15 +426,10 @@ declare class CacheStack extends EventEmitter {
|
|
|
426
426
|
private readonly snapshotSerializer;
|
|
427
427
|
private readonly backgroundRefreshes;
|
|
428
428
|
private readonly layerDegradedUntil;
|
|
429
|
-
private readonly
|
|
429
|
+
private readonly maintenance;
|
|
430
430
|
private readonly ttlResolver;
|
|
431
431
|
private readonly circuitBreakerManager;
|
|
432
432
|
private currentGeneration?;
|
|
433
|
-
private readonly writeBehindQueue;
|
|
434
|
-
private writeBehindTimer?;
|
|
435
|
-
private writeBehindFlushPromise?;
|
|
436
|
-
private generationCleanupPromise?;
|
|
437
|
-
private clearEpoch;
|
|
438
433
|
private isDisconnecting;
|
|
439
434
|
private disconnectPromise?;
|
|
440
435
|
constructor(layers: CacheLayer[], options?: CacheStackOptions);
|
|
@@ -546,24 +541,18 @@ declare class CacheStack extends EventEmitter {
|
|
|
546
541
|
private sleep;
|
|
547
542
|
private withTimeout;
|
|
548
543
|
private shouldBroadcastL1Invalidation;
|
|
549
|
-
private shouldCleanupGenerations;
|
|
550
|
-
private generationCleanupBatchSize;
|
|
551
544
|
private scheduleGenerationCleanup;
|
|
552
545
|
private cleanupGeneration;
|
|
553
546
|
private initializeWriteBehind;
|
|
554
547
|
private shouldWriteBehind;
|
|
555
|
-
private beginClearEpoch;
|
|
556
|
-
private currentKeyEpoch;
|
|
557
|
-
private bumpKeyEpochs;
|
|
558
|
-
private isWriteOutdated;
|
|
559
548
|
private enqueueWriteBehind;
|
|
560
549
|
private flushWriteBehindQueue;
|
|
550
|
+
private runWriteBehindBatch;
|
|
561
551
|
private buildLayerSetEntry;
|
|
562
552
|
private intersectKeys;
|
|
563
553
|
private qualifyKey;
|
|
564
554
|
private qualifyPattern;
|
|
565
555
|
private stripQualifiedKey;
|
|
566
|
-
private generationPrefix;
|
|
567
556
|
private deleteKeysFromLayers;
|
|
568
557
|
private validateConfiguration;
|
|
569
558
|
private validateWriteOptions;
|
|
@@ -426,15 +426,10 @@ declare class CacheStack extends EventEmitter {
|
|
|
426
426
|
private readonly snapshotSerializer;
|
|
427
427
|
private readonly backgroundRefreshes;
|
|
428
428
|
private readonly layerDegradedUntil;
|
|
429
|
-
private readonly
|
|
429
|
+
private readonly maintenance;
|
|
430
430
|
private readonly ttlResolver;
|
|
431
431
|
private readonly circuitBreakerManager;
|
|
432
432
|
private currentGeneration?;
|
|
433
|
-
private readonly writeBehindQueue;
|
|
434
|
-
private writeBehindTimer?;
|
|
435
|
-
private writeBehindFlushPromise?;
|
|
436
|
-
private generationCleanupPromise?;
|
|
437
|
-
private clearEpoch;
|
|
438
433
|
private isDisconnecting;
|
|
439
434
|
private disconnectPromise?;
|
|
440
435
|
constructor(layers: CacheLayer[], options?: CacheStackOptions);
|
|
@@ -546,24 +541,18 @@ declare class CacheStack extends EventEmitter {
|
|
|
546
541
|
private sleep;
|
|
547
542
|
private withTimeout;
|
|
548
543
|
private shouldBroadcastL1Invalidation;
|
|
549
|
-
private shouldCleanupGenerations;
|
|
550
|
-
private generationCleanupBatchSize;
|
|
551
544
|
private scheduleGenerationCleanup;
|
|
552
545
|
private cleanupGeneration;
|
|
553
546
|
private initializeWriteBehind;
|
|
554
547
|
private shouldWriteBehind;
|
|
555
|
-
private beginClearEpoch;
|
|
556
|
-
private currentKeyEpoch;
|
|
557
|
-
private bumpKeyEpochs;
|
|
558
|
-
private isWriteOutdated;
|
|
559
548
|
private enqueueWriteBehind;
|
|
560
549
|
private flushWriteBehindQueue;
|
|
550
|
+
private runWriteBehindBatch;
|
|
561
551
|
private buildLayerSetEntry;
|
|
562
552
|
private intersectKeys;
|
|
563
553
|
private qualifyKey;
|
|
564
554
|
private qualifyPattern;
|
|
565
555
|
private stripQualifiedKey;
|
|
566
|
-
private generationPrefix;
|
|
567
556
|
private deleteKeysFromLayers;
|
|
568
557
|
private validateConfiguration;
|
|
569
558
|
private validateWriteOptions;
|