Interface IReadThruProvider
Contains methods used to read an object by its key from the master data source. Must be implemented by read-through components.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface IReadThruProvider
Name | Description |
---|---|
Dispose() | Perform tasks associated with freeing, releasing, or resetting resources. |
Init(IDictionary, String) | Perform tasks like allocating resources or acquiring connections etc. |
LoadFromSource(String, out ProviderCacheItem) | Responsible for loading the object from the data source. Key is passed as parameter. |
LoadFromSource(String[]) | Responsible for loading array of objects from the data source. Keys are passed as parameter. |