dataply 0.0.22-alpha.4 → 0.0.22
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/dist/cjs/index.js
CHANGED
|
@@ -7806,9 +7806,8 @@ var WALManager = class {
|
|
|
7806
7806
|
|
|
7807
7807
|
// src/core/PageMVCCStrategy.ts
|
|
7808
7808
|
var import_node_fs2 = __toESM(require("node:fs"));
|
|
7809
|
-
var PageMVCCStrategy = class
|
|
7809
|
+
var PageMVCCStrategy = class {
|
|
7810
7810
|
constructor(fileHandle, pageSize, cacheCapacity) {
|
|
7811
|
-
super();
|
|
7812
7811
|
this.fileHandle = fileHandle;
|
|
7813
7812
|
this.pageSize = pageSize;
|
|
7814
7813
|
this.cache = new LRUMap2(cacheCapacity);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AsyncMVCCStrategy } from 'mvcc-api';
|
|
2
1
|
/**
|
|
3
2
|
* 페이지 수준 MVCC Strategy.
|
|
4
3
|
* mvcc-api의 AsyncMVCCStrategy를 상속하여 디스크 I/O를 담당합니다.
|
|
@@ -6,7 +5,7 @@ import { AsyncMVCCStrategy } from 'mvcc-api';
|
|
|
6
5
|
* 키: 페이지 ID (number)
|
|
7
6
|
* 값: 페이지 데이터 (Uint8Array)
|
|
8
7
|
*/
|
|
9
|
-
export declare class PageMVCCStrategy
|
|
8
|
+
export declare class PageMVCCStrategy {
|
|
10
9
|
private readonly fileHandle;
|
|
11
10
|
private readonly pageSize;
|
|
12
11
|
/** LRU 캐시 (페이지 ID -> 페이지 데이터) */
|