Show / Hide Table of Contents

Interface IThreadSafeDataset

Interface for SPARQL Datasets which also provide a Lock by which threading can be controlled.
Inherited Members
ISparqlDataset.SetActiveGraph(IEnumerable<Uri>)
ISparqlDataset.SetActiveGraph(Uri)
ISparqlDataset.SetDefaultGraph(Uri)
ISparqlDataset.SetDefaultGraph(IEnumerable<Uri>)
ISparqlDataset.ResetActiveGraph()
ISparqlDataset.ResetDefaultGraph()
ISparqlDataset.DefaultGraphUris
ISparqlDataset.ActiveGraphUris
ISparqlDataset.UsesUnionDefaultGraph
ISparqlDataset.AddGraph(IGraph)
ISparqlDataset.RemoveGraph(Uri)
ISparqlDataset.HasGraph(Uri)
ISparqlDataset.Graphs
ISparqlDataset.GraphUris
ISparqlDataset.Item[Uri]
ISparqlDataset.GetModifiableGraph(Uri)
ISparqlDataset.HasTriples
ISparqlDataset.ContainsTriple(Triple)
ISparqlDataset.Triples
ISparqlDataset.GetTriplesWithSubject(INode)
ISparqlDataset.GetTriplesWithPredicate(INode)
ISparqlDataset.GetTriplesWithObject(INode)
ISparqlDataset.GetTriplesWithSubjectPredicate(INode, INode)
ISparqlDataset.GetTriplesWithSubjectObject(INode, INode)
ISparqlDataset.GetTriplesWithPredicateObject(INode, INode)
ISparqlDataset.Flush()
ISparqlDataset.Discard()
Namespace: VDS.RDF.Query.Datasets
Assembly: dotNetRDF.dll
Syntax
public interface IThreadSafeDataset : ISparqlDataset
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

| Improve this Doc View Source

Lock

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
System.Threading.ReaderWriterLockSlim

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • Lock
  • Extension Methods
Back to top Generated by DocFX