Interface IAsyncStorageServer
Interface for storage providers which are capable of managing multiple stores asynchronously.
Inherited Members
System.IDisposable.Dispose()
Namespace: VDS.RDF.Storage.Management
Assembly: dotNetRDF.dll
Syntax
public interface IAsyncStorageServer : IDisposable
Properties
| Improve this Doc View SourceIOBehaviour
Gets information on the IO Behaviour of the Server.
Declaration
IOBehaviour IOBehaviour { get; }
Property Value
Type | Description |
---|---|
IOBehaviour |
Methods
| Improve this Doc View SourceCreateStore(IStoreTemplate, AsyncStorageCallback, Object)
Creates a store asynchronously.
Declaration
void CreateStore(IStoreTemplate template, AsyncStorageCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
IStoreTemplate | template | Template for the store to be created. |
AsyncStorageCallback | callback | Callback. |
System.Object | state | State to pass to the callback. |
Remarks
Behaviour with regards to whether creating a store overwrites an existing store with the same ID is at the discretion of the implementation and SHOULD be documented in an implementations comments.
|
Improve this Doc
View Source
DeleteStore(String, AsyncStorageCallback, Object)
Deletes a store asynchronously.
Declaration
void DeleteStore(string storeID, AsyncStorageCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
System.String | storeID | ID of the store to delete. |
AsyncStorageCallback | callback | Callback. |
System.Object | state | State to pass to the callback. |
GetAvailableTemplates(String, AsyncStorageCallback, Object)
Gets all available templates for creating a store with the given ID.
Declaration
void GetAvailableTemplates(string id, AsyncStorageCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | ID. |
AsyncStorageCallback | callback | Callback. |
System.Object | state | State to pass to the callback. |
GetDefaultTemplate(String, AsyncStorageCallback, Object)
Gets a default template for creating a store with the given ID.
Declaration
void GetDefaultTemplate(string id, AsyncStorageCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | ID. |
AsyncStorageCallback | callback | Callback. |
System.Object | state | State to pass to the callback. |
GetStore(String, AsyncStorageCallback, Object)
Gets a store asynchronously.
Declaration
void GetStore(string storeID, AsyncStorageCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
System.String | storeID | Store ID. |
AsyncStorageCallback | callback | Callback. |
System.Object | state | State to pass to the callback. |
ListStores(AsyncStorageCallback, Object)
Lists the available stores asynchronously.
Declaration
void ListStores(AsyncStorageCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
AsyncStorageCallback | callback | Callback. |
System.Object | state | State to pass to the callback. |