SortedTreeTableTKey, TValueAcquireReadSnapshot Method

Acquires a read snapshot of the current archive file.

Definition

Namespace: SnapDB.Snap.Storage
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public SortedTreeTableSnapshotInfo<TKey, TValue> AcquireReadSnapshot()

Return Value

SortedTreeTableSnapshotInfoTKey, TValue
A new instance of SortedTreeTableSnapshotInfoTKey, TValue representing the acquired read snapshot.

Remarks

Once the snapshot has been acquired, any future commits will not effect this snapshot. The snapshot has a tiny footprint and allows an unlimited number of reads that can be created.

See Also