Interface ICacheLoader
ICacheLoader Interface implementation is need to be provided at cache server in order to load items to cache on cache initialization.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface ICacheLoader : IDisposable
Methods
Name | Description |
---|---|
GetDatasetsToRefresh(IDictionary<String, Object>) | Responsible for getting new datasets at realtime through polling if refresh-on-event is enabled. |
Init(IDictionary<String, String>, String) | Perform tasks like allocating resources or acquiring connections etc. |
LoadDatasetOnStartup(String) | Responsible for loading of items. |
RefreshDataset(String, Object) | Responsible for refreshing of items. |