IUriLoaderCache Interface |
Namespace: VDS.RDF.Parsing
The IUriLoaderCache type exposes the following members.
Name | Description | |
---|---|---|
CacheDirectory |
Gets/Sets the Cache Directory that is in use.
| |
CacheDuration |
Gets/Sets how long results should be cached.
|
Name | Description | |
---|---|---|
Clear |
Clears the Cache.
| |
GetETag |
Gets the ETag for the given URI.
| |
GetLocalCopy |
Gets the path to the locally cached copy of the Graph from the given URI.
| |
HasETag |
Gets whether there is an ETag for the given URI.
| |
HasLocalCopy |
Is there a locally cached copy of the Graph from the given URI which is not expired.
| |
RemoveETag |
Remove the ETag record for the given URI.
| |
RemoveLocalCopy |
Removes a locally cached copy of a URIs results from the Cache.
| |
ToCache |
Associates an ETag (if any) with the Request and Response URIs plus returns an IRdfHandler that can be used to write to the cache.
|
Warning: Only available in Builds for which caching is supported e.g. not supported under Silverlight.
Implementors should take care to implement their caches such that any errors in the cache do not bubble up outside of the cache. If the cache encounters any error when caching data or retrieving data from the cache it should indicate that the cached data is not available.