Interface IDataPersistenceProvider
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface IDataPersistenceProvider : IDisposable
Methods
Name | Description |
---|---|
Clear |
Used to remove all data against the bucket. |
Create |
Creates a new store. |
Destroy() | Removes all files related to persistence. |
Dispose |
Dispose the resources of dataset used by this node. |
Get |
Used to get the count of all the items of the given dataset in the persistence provider. |
Get |
Used to load whole bucket into the cache. |
Initialize(String, IDictionary) | Initializes the data persistence provider on startup. |
LoadData(DatasetIdentifier, ICollection<String>) | Used for getBulk call while data is being loaded into the cache from the persistence store. |
Load |
Used for get call while data is being loaded into the cache from the persistence store. |
Load |
Used to load the whole bucket into the cache. |
RemoveData(DatasetIdentifier, ICollection<String>) | Used to remove/delete bulk data from the persistence provider. |
Remove |
Used to remove/delete a dataset from the persistence provider. |
Remove |
Removes the safe deleted rows permanently. |
StoreData(DatasetIdentifier, IDictionary<strDng, StorageEntryInfo>) | Used for addBulk, updateBulk and storing whole bucket data to the persistence provider. |
Store |
Store cache data in the persistence provider. Used for both add and update operations. |
Test |
Checks store connection. |
Verify |
Checks if the store already exists. |