private ConcurrentMapState(Prototype <Key> prototype, ReadableState <Key> store, File file, VersionContextSupplier versionContextSupplier) : base(store, versionContextSupplier) { this._previousVersion = store.Version(); this._versionContextSupplier = versionContextSupplier; this._file = file; this._hasTrackedChanges = prototype.HasTrackedChanges; this._changes = prototype.Changes; this._highestAppliedVersion = prototype.HighestAppliedVersion; this._appliedChanges = prototype.AppliedChanges; }
internal ConcurrentMapState(ReadableState <Key> store, File file, VersionContextSupplier versionContextSupplier) : base(store, versionContextSupplier) { this._previousVersion = store.Version(); this._file = file; this._versionContextSupplier = versionContextSupplier; this._highestAppliedVersion = new AtomicLong(_previousVersion); this._changes = new ConcurrentDictionary <Key, ChangeEntry>(); this._appliedChanges = new AtomicLong(); _hasTrackedChanges = new AtomicBoolean(); }