Try Playground
Show / Hide Table of Contents

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.

In This Article
  • Methods

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
� Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top