/**
 * GCExecuteResult — immutable summary of an executeGC run.
 *
 * @module domain/services/GCExecuteResult
 */
export default class GCExecuteResult {
    /** Number of node entries compacted out of `nodeAlive`. */
    nodesCompacted;
    /** Number of edge entries compacted out of `edgeAlive`. */
    edgesCompacted;
    /** Total tombstones removed across both alive sets. */
    tombstonesRemoved;
    constructor(fields) {
        this.nodesCompacted = fields.nodesCompacted;
        this.edgesCompacted = fields.edgesCompacted;
        this.tombstonesRemoved = fields.tombstonesRemoved;
        Object.freeze(this);
    }
}
