Version() protected abstract method

protected abstract Version ( ) : long
return long
Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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();
 }