dotNetRDF API Documentation

ThreadSafeGraph Class

A Thread Safe version of the Graph class

For a list of all members of this type, see ThreadSafeGraph Members .

System.Object
   BaseGraph
      Graph
         ThreadSafeGraph
            NonIndexedThreadSafeGraph

[XmlRoot(ElementName=""graph"", Namespace="null", DataType="""", IsNullable=True)]
public class ThreadSafeGraph : Graph

Thread Safety

Should be safe for almost any concurrent read and write access scenario, internally managed using a ReaderWriterLockSlim. If you encounter any sort of Threading/Concurrency issue please report to the dotNetRDF Bugs Mailing List

Remarks

Performance will be marginally worse than a normal Graph but in multi-threaded scenarios this will likely be offset by the benefits of multi-threading.

Requirements

Namespace: VDS.RDF

Assembly: dotNetRDF (in dotNetRDF.dll)

See Also

ThreadSafeGraph Members | VDS.RDF Namespace