Interface IThreadSafeDataset
Interface for SPARQL Datasets which also provide a Lock by which threading can be controlled.
Inherited Members
Namespace: VDS.RDF.Query.Datasets
Assembly: dotNetRdf.dll
Syntax
public interface IThreadSafeDataset : ISparqlDataset, ITripleIndex
Remarks
Note that there is no guarantees that consuming code will respect the fact that a Dataset is Thread Safe and use the Lock property appropriately. Additionally some datasets may choose to implement thread safety in other ways which don't rely on this interface.
Properties
| Edit this page View SourceLock
Gets the Lock used to ensure MRSW concurrency of the Dataset when used with the Leviathan SPARQL processors.
Declaration
ReaderWriterLockSlim Lock { get; }
Property Value
Type | Description |
---|---|
ReaderWriterLockSlim |