@fluidframework/container-runtime 2.0.0-dev.7.4.0.216897 → 2.0.0-dev.7.4.0.217884
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/api-report/container-runtime.api.md +55 -55
- package/dist/blobManager.d.ts +1 -1
- package/dist/blobManager.js.map +1 -1
- package/dist/container-runtime-alpha.d.ts +1358 -168
- package/dist/container-runtime-untrimmed.d.ts +55 -55
- package/dist/containerRuntime.d.ts +10 -10
- package/dist/containerRuntime.js +2 -2
- package/dist/containerRuntime.js.map +1 -1
- package/dist/gc/gcDefinitions.d.ts +9 -9
- package/dist/gc/gcDefinitions.js +1 -1
- package/dist/gc/gcDefinitions.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/summary/orderedClientElection.d.ts +1 -1
- package/dist/summary/orderedClientElection.js.map +1 -1
- package/dist/summary/summarizerTypes.d.ts +28 -28
- package/dist/summary/summarizerTypes.js.map +1 -1
- package/dist/summary/summaryCollection.d.ts +3 -3
- package/dist/summary/summaryCollection.js.map +1 -1
- package/dist/summary/summaryFormat.d.ts +3 -3
- package/dist/summary/summaryFormat.js.map +1 -1
- package/lib/blobManager.d.ts +1 -1
- package/lib/blobManager.js.map +1 -1
- package/lib/container-runtime-alpha.d.ts +1358 -168
- package/lib/container-runtime-untrimmed.d.ts +55 -55
- package/lib/containerRuntime.d.ts +10 -10
- package/lib/containerRuntime.js +2 -2
- package/lib/containerRuntime.js.map +1 -1
- package/lib/gc/gcDefinitions.d.ts +9 -9
- package/lib/gc/gcDefinitions.js +1 -1
- package/lib/gc/gcDefinitions.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/summary/orderedClientElection.d.ts +1 -1
- package/lib/summary/orderedClientElection.js.map +1 -1
- package/lib/summary/summarizerTypes.d.ts +28 -28
- package/lib/summary/summarizerTypes.js.map +1 -1
- package/lib/summary/summaryCollection.d.ts +3 -3
- package/lib/summary/summaryCollection.js.map +1 -1
- package/lib/summary/summaryFormat.d.ts +3 -3
- package/lib/summary/summaryFormat.js.map +1 -1
- package/package.json +15 -15
- package/src/blobManager.ts +1 -1
- package/src/containerRuntime.ts +10 -10
- package/src/gc/gcDefinitions.ts +9 -9
- package/src/packageVersion.ts +1 -1
- package/src/summary/orderedClientElection.ts +1 -1
- package/src/summary/summarizerTypes.ts +28 -28
- package/src/summary/summaryCollection.ts +3 -3
- package/src/summary/summaryFormat.ts +3 -3
|
@@ -85,7 +85,7 @@ export declare type CompatModeBehavior =
|
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* Available compression algorithms for op compression.
|
|
88
|
-
* @
|
|
88
|
+
* @alpha
|
|
89
89
|
*/
|
|
90
90
|
export declare enum CompressionAlgorithms {
|
|
91
91
|
lz4 = "lz4"
|
|
@@ -112,7 +112,7 @@ export declare enum ContainerMessageType {
|
|
|
112
112
|
/**
|
|
113
113
|
* Represents the runtime of the container. Contains helper functions/state of the container.
|
|
114
114
|
* It will define the store level mappings.
|
|
115
|
-
* @
|
|
115
|
+
* @alpha
|
|
116
116
|
*/
|
|
117
117
|
export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntimeEvents & ISummarizerEvents> implements IContainerRuntime, IRuntime, ISummarizerRuntime, ISummarizerInternalsProvider, IProvideFluidHandleContext {
|
|
118
118
|
private readonly registry;
|
|
@@ -636,7 +636,7 @@ export declare interface ContainerRuntimeMessage {
|
|
|
636
636
|
export declare const DefaultSummaryConfiguration: ISummaryConfiguration;
|
|
637
637
|
|
|
638
638
|
/**
|
|
639
|
-
* @
|
|
639
|
+
* @alpha
|
|
640
640
|
*/
|
|
641
641
|
export declare type EnqueueSummarizeResult = (ISummarizeResults & {
|
|
642
642
|
/**
|
|
@@ -674,7 +674,7 @@ export declare class FluidDataStoreRegistry implements IFluidDataStoreRegistry {
|
|
|
674
674
|
|
|
675
675
|
/**
|
|
676
676
|
* @see IGCMetadata.gcFeatureMatrix
|
|
677
|
-
* @
|
|
677
|
+
* @alpha
|
|
678
678
|
*/
|
|
679
679
|
export declare interface GCFeatureMatrix {
|
|
680
680
|
/**
|
|
@@ -693,7 +693,7 @@ export declare interface GCFeatureMatrix {
|
|
|
693
693
|
|
|
694
694
|
/**
|
|
695
695
|
* The types of GC nodes in the GC reference graph.
|
|
696
|
-
* @
|
|
696
|
+
* @alpha
|
|
697
697
|
*/
|
|
698
698
|
export declare const GCNodeType: {
|
|
699
699
|
DataStore: string;
|
|
@@ -703,12 +703,12 @@ export declare const GCNodeType: {
|
|
|
703
703
|
};
|
|
704
704
|
|
|
705
705
|
/**
|
|
706
|
-
* @
|
|
706
|
+
* @alpha
|
|
707
707
|
*/
|
|
708
708
|
export declare type GCNodeType = (typeof GCNodeType)[keyof typeof GCNodeType];
|
|
709
709
|
|
|
710
710
|
/**
|
|
711
|
-
* @
|
|
711
|
+
* @alpha
|
|
712
712
|
*/
|
|
713
713
|
export declare type GCVersion = number;
|
|
714
714
|
|
|
@@ -728,7 +728,7 @@ export declare interface IAckedSummary {
|
|
|
728
728
|
}
|
|
729
729
|
|
|
730
730
|
/**
|
|
731
|
-
* @
|
|
731
|
+
* @alpha
|
|
732
732
|
*/
|
|
733
733
|
export declare interface IAckSummaryResult {
|
|
734
734
|
readonly summaryAckOp: ISummaryAckMessage;
|
|
@@ -737,7 +737,7 @@ export declare interface IAckSummaryResult {
|
|
|
737
737
|
|
|
738
738
|
/**
|
|
739
739
|
* Base results for all submitSummary attempts.
|
|
740
|
-
* @
|
|
740
|
+
* @alpha
|
|
741
741
|
*/
|
|
742
742
|
export declare interface IBaseSummarizeResult {
|
|
743
743
|
readonly stage: "base";
|
|
@@ -750,7 +750,7 @@ export declare interface IBaseSummarizeResult {
|
|
|
750
750
|
|
|
751
751
|
/**
|
|
752
752
|
* Information from a snapshot needed to load BlobManager
|
|
753
|
-
* @
|
|
753
|
+
* @alpha
|
|
754
754
|
*/
|
|
755
755
|
export declare interface IBlobManagerLoadInfo {
|
|
756
756
|
ids?: string[];
|
|
@@ -758,7 +758,7 @@ export declare interface IBlobManagerLoadInfo {
|
|
|
758
758
|
}
|
|
759
759
|
|
|
760
760
|
/**
|
|
761
|
-
* @
|
|
761
|
+
* @alpha
|
|
762
762
|
*/
|
|
763
763
|
export declare interface IBroadcastSummaryResult {
|
|
764
764
|
readonly summarizeOp: ISummaryOpMessage;
|
|
@@ -776,7 +776,7 @@ export declare interface ICancellableSummarizerController extends ISummaryCancel
|
|
|
776
776
|
/**
|
|
777
777
|
* Similar to AbortSignal, but using promise instead of events
|
|
778
778
|
* @param T - cancellation reason type
|
|
779
|
-
* @
|
|
779
|
+
* @alpha
|
|
780
780
|
*/
|
|
781
781
|
export declare interface ICancellationToken<T> {
|
|
782
782
|
/** Tells if this cancellable token is cancelled */
|
|
@@ -811,7 +811,7 @@ export declare interface IClientSummaryWatcher extends IDisposable {
|
|
|
811
811
|
|
|
812
812
|
/**
|
|
813
813
|
* Options for op compression.
|
|
814
|
-
* @
|
|
814
|
+
* @alpha
|
|
815
815
|
*/
|
|
816
816
|
export declare interface ICompressionRuntimeOptions {
|
|
817
817
|
/**
|
|
@@ -827,7 +827,7 @@ export declare interface ICompressionRuntimeOptions {
|
|
|
827
827
|
}
|
|
828
828
|
|
|
829
829
|
/**
|
|
830
|
-
* @
|
|
830
|
+
* @alpha
|
|
831
831
|
*/
|
|
832
832
|
export declare interface IConnectableRuntime {
|
|
833
833
|
readonly disposed: boolean;
|
|
@@ -847,7 +847,7 @@ export declare interface IContainerRuntimeMessageCompatDetails {
|
|
|
847
847
|
}
|
|
848
848
|
|
|
849
849
|
/**
|
|
850
|
-
* @
|
|
850
|
+
* @alpha
|
|
851
851
|
*/
|
|
852
852
|
export declare interface IContainerRuntimeMetadata extends ICreateContainerMetadata, IGCMetadata {
|
|
853
853
|
readonly summaryFormatVersion: 1;
|
|
@@ -865,7 +865,7 @@ export declare interface IContainerRuntimeMetadata extends ICreateContainerMetad
|
|
|
865
865
|
|
|
866
866
|
/**
|
|
867
867
|
* Options for container runtime.
|
|
868
|
-
* @
|
|
868
|
+
* @alpha
|
|
869
869
|
*/
|
|
870
870
|
export declare interface IContainerRuntimeOptions {
|
|
871
871
|
readonly summaryOptions?: ISummaryRuntimeOptions;
|
|
@@ -944,7 +944,7 @@ export declare interface IContainerRuntimeOptions {
|
|
|
944
944
|
}
|
|
945
945
|
|
|
946
946
|
/**
|
|
947
|
-
* @
|
|
947
|
+
* @alpha
|
|
948
948
|
*/
|
|
949
949
|
export declare interface ICreateContainerMetadata {
|
|
950
950
|
/** Runtime version of the container when it was first created */
|
|
@@ -955,7 +955,7 @@ export declare interface ICreateContainerMetadata {
|
|
|
955
955
|
|
|
956
956
|
/**
|
|
957
957
|
* Options to use when enqueueing a summarize attempt.
|
|
958
|
-
* @
|
|
958
|
+
* @alpha
|
|
959
959
|
*/
|
|
960
960
|
export declare interface IEnqueueSummarizeOptions extends IOnDemandSummarizeOptions {
|
|
961
961
|
/** If specified, The summarize attempt will not occur until after this sequence number. */
|
|
@@ -970,7 +970,7 @@ export declare interface IEnqueueSummarizeOptions extends IOnDemandSummarizeOpti
|
|
|
970
970
|
}
|
|
971
971
|
|
|
972
972
|
/**
|
|
973
|
-
* @
|
|
973
|
+
* @alpha
|
|
974
974
|
*/
|
|
975
975
|
export declare interface IGCMetadata {
|
|
976
976
|
/**
|
|
@@ -1008,7 +1008,7 @@ export declare interface IGCMetadata {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
1010
|
/**
|
|
1011
|
-
* @
|
|
1011
|
+
* @alpha
|
|
1012
1012
|
*/
|
|
1013
1013
|
export declare interface IGCRuntimeOptions {
|
|
1014
1014
|
/**
|
|
@@ -1046,7 +1046,7 @@ export declare interface IGCRuntimeOptions {
|
|
|
1046
1046
|
|
|
1047
1047
|
/**
|
|
1048
1048
|
* The statistics of the system state after a garbage collection run.
|
|
1049
|
-
* @
|
|
1049
|
+
* @alpha
|
|
1050
1050
|
*/
|
|
1051
1051
|
export declare interface IGCStats extends IMarkPhaseStats, ISweepPhaseStats {
|
|
1052
1052
|
}
|
|
@@ -1054,7 +1054,7 @@ export declare interface IGCStats extends IMarkPhaseStats, ISweepPhaseStats {
|
|
|
1054
1054
|
/**
|
|
1055
1055
|
* In addition to the normal summary tree + stats, this contains additional stats
|
|
1056
1056
|
* only relevant at the root of the tree.
|
|
1057
|
-
* @
|
|
1057
|
+
* @alpha
|
|
1058
1058
|
*/
|
|
1059
1059
|
export declare interface IGeneratedSummaryStats extends ISummaryStats {
|
|
1060
1060
|
/** The total number of data stores in the container. */
|
|
@@ -1073,7 +1073,7 @@ export declare interface IGeneratedSummaryStats extends ISummaryStats {
|
|
|
1073
1073
|
|
|
1074
1074
|
/**
|
|
1075
1075
|
* Results of submitSummary after generating the summary tree.
|
|
1076
|
-
* @
|
|
1076
|
+
* @alpha
|
|
1077
1077
|
*/
|
|
1078
1078
|
export declare interface IGenerateSummaryTreeResult extends Omit<IBaseSummarizeResult, "stage"> {
|
|
1079
1079
|
readonly stage: "generate";
|
|
@@ -1089,7 +1089,7 @@ export declare interface IGenerateSummaryTreeResult extends Omit<IBaseSummarizeR
|
|
|
1089
1089
|
|
|
1090
1090
|
/**
|
|
1091
1091
|
* The statistics of the system state after a garbage collection mark phase run.
|
|
1092
|
-
* @
|
|
1092
|
+
* @alpha
|
|
1093
1093
|
*/
|
|
1094
1094
|
export declare interface IMarkPhaseStats {
|
|
1095
1095
|
/** The number of nodes in the container. */
|
|
@@ -1113,7 +1113,7 @@ export declare interface IMarkPhaseStats {
|
|
|
1113
1113
|
}
|
|
1114
1114
|
|
|
1115
1115
|
/**
|
|
1116
|
-
* @
|
|
1116
|
+
* @alpha
|
|
1117
1117
|
*/
|
|
1118
1118
|
export declare interface INackSummaryResult extends IRetriableFailureResult {
|
|
1119
1119
|
readonly summaryNackOp: ISummaryNackMessage;
|
|
@@ -1127,7 +1127,7 @@ export declare interface INackSummaryResult extends IRetriableFailureResult {
|
|
|
1127
1127
|
export declare const InactiveResponseHeaderKey = "isInactive";
|
|
1128
1128
|
|
|
1129
1129
|
/**
|
|
1130
|
-
* @
|
|
1130
|
+
* @alpha
|
|
1131
1131
|
*/
|
|
1132
1132
|
export declare interface IOnDemandSummarizeOptions extends ISummarizeOptions {
|
|
1133
1133
|
/** Reason for generating summary. */
|
|
@@ -1136,7 +1136,7 @@ export declare interface IOnDemandSummarizeOptions extends ISummarizeOptions {
|
|
|
1136
1136
|
|
|
1137
1137
|
/**
|
|
1138
1138
|
* Data required to update internal tracking state after receiving a Summary Ack.
|
|
1139
|
-
* @
|
|
1139
|
+
* @alpha
|
|
1140
1140
|
*/
|
|
1141
1141
|
export declare interface IRefreshSummaryAckOptions {
|
|
1142
1142
|
/** Handle from the ack's summary op. */
|
|
@@ -1151,7 +1151,7 @@ export declare interface IRefreshSummaryAckOptions {
|
|
|
1151
1151
|
|
|
1152
1152
|
/**
|
|
1153
1153
|
* Type for summarization failures that are retriable.
|
|
1154
|
-
* @
|
|
1154
|
+
* @alpha
|
|
1155
1155
|
*/
|
|
1156
1156
|
export declare interface IRetriableFailureResult {
|
|
1157
1157
|
readonly retryAfterSeconds?: number;
|
|
@@ -1159,7 +1159,7 @@ export declare interface IRetriableFailureResult {
|
|
|
1159
1159
|
|
|
1160
1160
|
/**
|
|
1161
1161
|
* Serialized state of IOrderedClientElection.
|
|
1162
|
-
* @
|
|
1162
|
+
* @alpha
|
|
1163
1163
|
*/
|
|
1164
1164
|
export declare interface ISerializedElection {
|
|
1165
1165
|
/** Sequence number at the time of the latest election. */
|
|
@@ -1192,7 +1192,7 @@ export declare function isStableId(str: string): str is StableId;
|
|
|
1192
1192
|
|
|
1193
1193
|
/**
|
|
1194
1194
|
* Results of submitSummary after submitting the summarize op.
|
|
1195
|
-
* @
|
|
1195
|
+
* @alpha
|
|
1196
1196
|
*/
|
|
1197
1197
|
export declare interface ISubmitSummaryOpResult extends Omit<IUploadSummaryResult, "stage" | "error"> {
|
|
1198
1198
|
readonly stage: "submit";
|
|
@@ -1203,7 +1203,7 @@ export declare interface ISubmitSummaryOpResult extends Omit<IUploadSummaryResul
|
|
|
1203
1203
|
}
|
|
1204
1204
|
|
|
1205
1205
|
/**
|
|
1206
|
-
* @
|
|
1206
|
+
* @alpha
|
|
1207
1207
|
*/
|
|
1208
1208
|
export declare interface ISubmitSummaryOptions extends ISummarizeOptions {
|
|
1209
1209
|
/** Logger to use for correlated summary events */
|
|
@@ -1215,7 +1215,7 @@ export declare interface ISubmitSummaryOptions extends ISummarizeOptions {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
|
|
1217
1217
|
/**
|
|
1218
|
-
* @
|
|
1218
|
+
* @alpha
|
|
1219
1219
|
*/
|
|
1220
1220
|
export declare interface ISummarizeEventProps {
|
|
1221
1221
|
result: "success" | "failure" | "canceled";
|
|
@@ -1226,7 +1226,7 @@ export declare interface ISummarizeEventProps {
|
|
|
1226
1226
|
|
|
1227
1227
|
/**
|
|
1228
1228
|
* Options affecting summarize behavior.
|
|
1229
|
-
* @
|
|
1229
|
+
* @alpha
|
|
1230
1230
|
*/
|
|
1231
1231
|
export declare interface ISummarizeOptions {
|
|
1232
1232
|
/** True to generate the full tree with no handle reuse optimizations; defaults to false */
|
|
@@ -1277,7 +1277,7 @@ export declare interface ISummarizer extends IEventProvider<ISummarizerEvents> {
|
|
|
1277
1277
|
}
|
|
1278
1278
|
|
|
1279
1279
|
/**
|
|
1280
|
-
* @
|
|
1280
|
+
* @alpha
|
|
1281
1281
|
*/
|
|
1282
1282
|
export declare interface ISummarizeResults {
|
|
1283
1283
|
/** Resolves when we generate, upload, and submit the summary. */
|
|
@@ -1289,14 +1289,14 @@ export declare interface ISummarizeResults {
|
|
|
1289
1289
|
}
|
|
1290
1290
|
|
|
1291
1291
|
/**
|
|
1292
|
-
* @
|
|
1292
|
+
* @alpha
|
|
1293
1293
|
*/
|
|
1294
1294
|
export declare interface ISummarizerEvents extends IEvent {
|
|
1295
1295
|
(event: "summarize", listener: (props: ISummarizeEventProps) => void): any;
|
|
1296
1296
|
}
|
|
1297
1297
|
|
|
1298
1298
|
/**
|
|
1299
|
-
* @
|
|
1299
|
+
* @alpha
|
|
1300
1300
|
*/
|
|
1301
1301
|
export declare interface ISummarizerInternalsProvider {
|
|
1302
1302
|
/** Encapsulates the work to walk the internals of the running container to generate a summary */
|
|
@@ -1306,7 +1306,7 @@ export declare interface ISummarizerInternalsProvider {
|
|
|
1306
1306
|
}
|
|
1307
1307
|
|
|
1308
1308
|
/**
|
|
1309
|
-
* @
|
|
1309
|
+
* @alpha
|
|
1310
1310
|
*/
|
|
1311
1311
|
export declare interface ISummarizerRuntime extends IConnectableRuntime {
|
|
1312
1312
|
readonly logger: ITelemetryLoggerExt;
|
|
@@ -1341,7 +1341,7 @@ export declare interface ISummary {
|
|
|
1341
1341
|
|
|
1342
1342
|
/**
|
|
1343
1343
|
* Interface for summary ack messages with typed contents.
|
|
1344
|
-
* @
|
|
1344
|
+
* @alpha
|
|
1345
1345
|
*/
|
|
1346
1346
|
export declare interface ISummaryAckMessage extends ISequencedDocumentMessage {
|
|
1347
1347
|
type: MessageType.SummaryAck;
|
|
@@ -1349,7 +1349,7 @@ export declare interface ISummaryAckMessage extends ISequencedDocumentMessage {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
|
|
1351
1351
|
/**
|
|
1352
|
-
* @
|
|
1352
|
+
* @alpha
|
|
1353
1353
|
*/
|
|
1354
1354
|
export declare interface ISummaryBaseConfiguration {
|
|
1355
1355
|
/**
|
|
@@ -1371,7 +1371,7 @@ export declare interface ISummaryBaseConfiguration {
|
|
|
1371
1371
|
|
|
1372
1372
|
/**
|
|
1373
1373
|
* Similar to AbortSignal, but using promise instead of events
|
|
1374
|
-
* @
|
|
1374
|
+
* @alpha
|
|
1375
1375
|
*/
|
|
1376
1376
|
export declare type ISummaryCancellationToken = ICancellationToken<SummarizerStopReason>;
|
|
1377
1377
|
|
|
@@ -1383,26 +1383,26 @@ export declare interface ISummaryCollectionOpEvents extends IEvent {
|
|
|
1383
1383
|
}
|
|
1384
1384
|
|
|
1385
1385
|
/**
|
|
1386
|
-
* @
|
|
1386
|
+
* @alpha
|
|
1387
1387
|
*/
|
|
1388
1388
|
export declare type ISummaryConfiguration = ISummaryConfigurationDisableSummarizer | ISummaryConfigurationDisableHeuristics | ISummaryConfigurationHeuristics;
|
|
1389
1389
|
|
|
1390
1390
|
/**
|
|
1391
|
-
* @
|
|
1391
|
+
* @alpha
|
|
1392
1392
|
*/
|
|
1393
1393
|
export declare interface ISummaryConfigurationDisableHeuristics extends ISummaryBaseConfiguration {
|
|
1394
1394
|
state: "disableHeuristics";
|
|
1395
1395
|
}
|
|
1396
1396
|
|
|
1397
1397
|
/**
|
|
1398
|
-
* @
|
|
1398
|
+
* @alpha
|
|
1399
1399
|
*/
|
|
1400
1400
|
export declare interface ISummaryConfigurationDisableSummarizer {
|
|
1401
1401
|
state: "disabled";
|
|
1402
1402
|
}
|
|
1403
1403
|
|
|
1404
1404
|
/**
|
|
1405
|
-
* @
|
|
1405
|
+
* @alpha
|
|
1406
1406
|
*/
|
|
1407
1407
|
export declare interface ISummaryConfigurationHeuristics extends ISummaryBaseConfiguration {
|
|
1408
1408
|
state: "enabled";
|
|
@@ -1465,13 +1465,13 @@ export declare interface ISummaryConfigurationHeuristics extends ISummaryBaseCon
|
|
|
1465
1465
|
|
|
1466
1466
|
/**
|
|
1467
1467
|
* The properties of an ISequencedDocumentMessage to be stored in the metadata blob in summary.
|
|
1468
|
-
* @
|
|
1468
|
+
* @alpha
|
|
1469
1469
|
*/
|
|
1470
1470
|
export declare type ISummaryMetadataMessage = Pick<ISequencedDocumentMessage, "clientId" | "clientSequenceNumber" | "minimumSequenceNumber" | "referenceSequenceNumber" | "sequenceNumber" | "timestamp" | "type">;
|
|
1471
1471
|
|
|
1472
1472
|
/**
|
|
1473
1473
|
* Interface for summary nack messages with typed contents.
|
|
1474
|
-
* @
|
|
1474
|
+
* @alpha
|
|
1475
1475
|
*/
|
|
1476
1476
|
export declare interface ISummaryNackMessage extends ISequencedDocumentMessage {
|
|
1477
1477
|
type: MessageType.SummaryNack;
|
|
@@ -1480,7 +1480,7 @@ export declare interface ISummaryNackMessage extends ISequencedDocumentMessage {
|
|
|
1480
1480
|
|
|
1481
1481
|
/**
|
|
1482
1482
|
* Interface for summary op messages with typed contents.
|
|
1483
|
-
* @
|
|
1483
|
+
* @alpha
|
|
1484
1484
|
*/
|
|
1485
1485
|
export declare interface ISummaryOpMessage extends ISequencedDocumentMessage {
|
|
1486
1486
|
type: MessageType.Summarize;
|
|
@@ -1488,7 +1488,7 @@ export declare interface ISummaryOpMessage extends ISequencedDocumentMessage {
|
|
|
1488
1488
|
}
|
|
1489
1489
|
|
|
1490
1490
|
/**
|
|
1491
|
-
* @
|
|
1491
|
+
* @alpha
|
|
1492
1492
|
*/
|
|
1493
1493
|
export declare interface ISummaryRuntimeOptions {
|
|
1494
1494
|
/** Override summary configurations set by the server. */
|
|
@@ -1504,7 +1504,7 @@ export declare interface ISummaryRuntimeOptions {
|
|
|
1504
1504
|
|
|
1505
1505
|
/**
|
|
1506
1506
|
* The statistics of the system state after a garbage collection sweep phase run.
|
|
1507
|
-
* @
|
|
1507
|
+
* @alpha
|
|
1508
1508
|
*/
|
|
1509
1509
|
export declare interface ISweepPhaseStats {
|
|
1510
1510
|
/** The number of nodes in the lifetime of the container. */
|
|
@@ -1523,7 +1523,7 @@ export declare interface ISweepPhaseStats {
|
|
|
1523
1523
|
|
|
1524
1524
|
/**
|
|
1525
1525
|
* Results of submitSummary after uploading the tree to storage.
|
|
1526
|
-
* @
|
|
1526
|
+
* @alpha
|
|
1527
1527
|
*/
|
|
1528
1528
|
export declare interface IUploadSummaryResult extends Omit<IGenerateSummaryTreeResult, "stage"> {
|
|
1529
1529
|
readonly stage: "upload";
|
|
@@ -1586,7 +1586,7 @@ export declare enum RuntimeMessage {
|
|
|
1586
1586
|
|
|
1587
1587
|
/**
|
|
1588
1588
|
* The data in summarizer result when submit summary stage fails.
|
|
1589
|
-
* @
|
|
1589
|
+
* @alpha
|
|
1590
1590
|
*/
|
|
1591
1591
|
export declare interface SubmitSummaryFailureData extends IRetriableFailureResult {
|
|
1592
1592
|
stage: SummaryStage;
|
|
@@ -1607,7 +1607,7 @@ export declare interface SubmitSummaryFailureData extends IRetriableFailureResul
|
|
|
1607
1607
|
* 3. "upload" - the summary was uploaded to storage, and the result contains the server-provided handle
|
|
1608
1608
|
*
|
|
1609
1609
|
* 4. "submit" - the summarize op was submitted, and the result contains the op client sequence number.
|
|
1610
|
-
* @
|
|
1610
|
+
* @alpha
|
|
1611
1611
|
*/
|
|
1612
1612
|
export declare type SubmitSummaryResult = IBaseSummarizeResult | IGenerateSummaryTreeResult | IUploadSummaryResult | ISubmitSummaryOpResult;
|
|
1613
1613
|
|
|
@@ -1696,7 +1696,7 @@ export declare class Summarizer extends TypedEventEmitter<ISummarizerEvents> imp
|
|
|
1696
1696
|
}
|
|
1697
1697
|
|
|
1698
1698
|
/**
|
|
1699
|
-
* @
|
|
1699
|
+
* @alpha
|
|
1700
1700
|
*/
|
|
1701
1701
|
export declare type SummarizeResultPart<TSuccess, TFailure = undefined> = {
|
|
1702
1702
|
success: true;
|
|
@@ -1709,7 +1709,7 @@ export declare type SummarizeResultPart<TSuccess, TFailure = undefined> = {
|
|
|
1709
1709
|
};
|
|
1710
1710
|
|
|
1711
1711
|
/**
|
|
1712
|
-
* @
|
|
1712
|
+
* @alpha
|
|
1713
1713
|
*/
|
|
1714
1714
|
export declare type SummarizerStopReason =
|
|
1715
1715
|
/** Summarizer client failed to summarize in all 3 consecutive attempts. */
|
|
@@ -1793,7 +1793,7 @@ export declare class SummaryCollection extends TypedEventEmitter<ISummaryCollect
|
|
|
1793
1793
|
|
|
1794
1794
|
/**
|
|
1795
1795
|
* The stages of Summarize, used to describe how far progress succeeded in case of a failure at a later stage.
|
|
1796
|
-
* @
|
|
1796
|
+
* @alpha
|
|
1797
1797
|
*/
|
|
1798
1798
|
export declare type SummaryStage = SubmitSummaryResult["stage"] | "unknown";
|
|
1799
1799
|
|
|
@@ -16,7 +16,7 @@ import { IContainerRuntimeMetadata, ISerializedElection, SubmitSummaryResult, IS
|
|
|
16
16
|
import { GCNodeType, IGCRuntimeOptions, IGCStats } from "./gc";
|
|
17
17
|
import { IBatch } from "./opLifecycle";
|
|
18
18
|
/**
|
|
19
|
-
* @
|
|
19
|
+
* @alpha
|
|
20
20
|
*/
|
|
21
21
|
export interface ISummaryBaseConfiguration {
|
|
22
22
|
/**
|
|
@@ -36,7 +36,7 @@ export interface ISummaryBaseConfiguration {
|
|
|
36
36
|
maxOpsSinceLastSummary: number;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
|
-
* @
|
|
39
|
+
* @alpha
|
|
40
40
|
*/
|
|
41
41
|
export interface ISummaryConfigurationHeuristics extends ISummaryBaseConfiguration {
|
|
42
42
|
state: "enabled";
|
|
@@ -97,19 +97,19 @@ export interface ISummaryConfigurationHeuristics extends ISummaryBaseConfigurati
|
|
|
97
97
|
nonRuntimeHeuristicThreshold?: number;
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
|
-
* @
|
|
100
|
+
* @alpha
|
|
101
101
|
*/
|
|
102
102
|
export interface ISummaryConfigurationDisableSummarizer {
|
|
103
103
|
state: "disabled";
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
|
-
* @
|
|
106
|
+
* @alpha
|
|
107
107
|
*/
|
|
108
108
|
export interface ISummaryConfigurationDisableHeuristics extends ISummaryBaseConfiguration {
|
|
109
109
|
state: "disableHeuristics";
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
112
|
-
* @
|
|
112
|
+
* @alpha
|
|
113
113
|
*/
|
|
114
114
|
export type ISummaryConfiguration = ISummaryConfigurationDisableSummarizer | ISummaryConfigurationDisableHeuristics | ISummaryConfigurationHeuristics;
|
|
115
115
|
/**
|
|
@@ -117,7 +117,7 @@ export type ISummaryConfiguration = ISummaryConfigurationDisableSummarizer | ISu
|
|
|
117
117
|
*/
|
|
118
118
|
export declare const DefaultSummaryConfiguration: ISummaryConfiguration;
|
|
119
119
|
/**
|
|
120
|
-
* @
|
|
120
|
+
* @alpha
|
|
121
121
|
*/
|
|
122
122
|
export interface ISummaryRuntimeOptions {
|
|
123
123
|
/** Override summary configurations set by the server. */
|
|
@@ -132,7 +132,7 @@ export interface ISummaryRuntimeOptions {
|
|
|
132
132
|
}
|
|
133
133
|
/**
|
|
134
134
|
* Options for op compression.
|
|
135
|
-
* @
|
|
135
|
+
* @alpha
|
|
136
136
|
*/
|
|
137
137
|
export interface ICompressionRuntimeOptions {
|
|
138
138
|
/**
|
|
@@ -148,7 +148,7 @@ export interface ICompressionRuntimeOptions {
|
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
150
|
* Options for container runtime.
|
|
151
|
-
* @
|
|
151
|
+
* @alpha
|
|
152
152
|
*/
|
|
153
153
|
export interface IContainerRuntimeOptions {
|
|
154
154
|
readonly summaryOptions?: ISummaryRuntimeOptions;
|
|
@@ -267,7 +267,7 @@ export interface RuntimeHeaderData {
|
|
|
267
267
|
export declare const defaultRuntimeHeaderData: Required<RuntimeHeaderData>;
|
|
268
268
|
/**
|
|
269
269
|
* Available compression algorithms for op compression.
|
|
270
|
-
* @
|
|
270
|
+
* @alpha
|
|
271
271
|
*/
|
|
272
272
|
export declare enum CompressionAlgorithms {
|
|
273
273
|
lz4 = "lz4"
|
|
@@ -341,7 +341,7 @@ export declare function TEST_requestSummarizer(loader: ILoader, url: string): Pr
|
|
|
341
341
|
/**
|
|
342
342
|
* Represents the runtime of the container. Contains helper functions/state of the container.
|
|
343
343
|
* It will define the store level mappings.
|
|
344
|
-
* @
|
|
344
|
+
* @alpha
|
|
345
345
|
*/
|
|
346
346
|
export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntimeEvents & ISummarizerEvents> implements IContainerRuntime, IRuntime, ISummarizerRuntime, ISummarizerInternalsProvider, IProvideFluidHandleContext {
|
|
347
347
|
private readonly registry;
|
package/dist/containerRuntime.js
CHANGED
|
@@ -118,7 +118,7 @@ exports.defaultRuntimeHeaderData = {
|
|
|
118
118
|
};
|
|
119
119
|
/**
|
|
120
120
|
* Available compression algorithms for op compression.
|
|
121
|
-
* @
|
|
121
|
+
* @alpha
|
|
122
122
|
*/
|
|
123
123
|
var CompressionAlgorithms;
|
|
124
124
|
(function (CompressionAlgorithms) {
|
|
@@ -252,7 +252,7 @@ exports.TEST_requestSummarizer = TEST_requestSummarizer;
|
|
|
252
252
|
/**
|
|
253
253
|
* Represents the runtime of the container. Contains helper functions/state of the container.
|
|
254
254
|
* It will define the store level mappings.
|
|
255
|
-
* @
|
|
255
|
+
* @alpha
|
|
256
256
|
*/
|
|
257
257
|
class ContainerRuntime extends client_utils_1.TypedEventEmitter {
|
|
258
258
|
/**
|