Interface ICacheLoader
The ICacheLoader Interface implementation needs to be provided at the cache server in order to load items to the cache on the cache initialization.
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface ICacheLoader : IDisposable
Methods
| Name | Description |
|---|---|
| GetDatasetsToRefresh(IDictionary<String, Object>) | Responsible for getting new datasets at real-time through polling if refresh-on-event is enabled. |
| Init(IDictionary<String, String>, String) | |
|
Load |
This method loads item in dataset on cache startup. |
|
Refresh |
Responsible for refreshing items in dataset. |