Interface IDataPersistenceProvider
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface IDataPersistenceProvider : IDisposable
Methods
Name | Description |
---|---|
ClearDataset(DatasetIdentifier) | Used to remove all data against the bucket. |
CreateStore() | Creates a new store. |
Destroy() | Removes all files related to persistence. |
DisposeDataset(DatasetIdentifier) | Dispose the resources of dataset used by this node. |
GetDatasetItemsCount(DatasetIdentifier) | Used to get the count of all the items of the given dataset in the persistence provider. |
GetDatasetReader(DatasetIdentifier) | 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. |
LoadData(DatasetIdentifier, String) | Used for get call while data is being loaded into the cache from the persistence store. |
LoadDataset(DatasetIdentifier) | Used to load the whole bucket into the cache. |
RemoveData(DatasetIdentifier, ICollection<String>) | Used to remove/delete bulk data from the persistence provider. |
RemoveData(DatasetIdentifier, String) | Used to remove/delete a dataset from the persistence provider. |
RemoveSafeDeletedRows() | Removes the safe deleted rows permanently. |
StoreData(DatasetIdentifier, IDictionary<strDng, StorageEntryInfo>) | Used for addBulk, updateBulk and storing whole bucket data to the persistence provider. |
StoreData(DatasetIdentifier, String, StorageEntryInfo) | Store cache data in the persistence provider. Used for both add and update operations. |
TestConnection() | Checks store connection. |
VerifyStore() | Checks if the store already exists. |