Interface ICacheLoader
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface ICacheLoader : IDisposable
Init(IDictionary, String)
Perform tasks like allocating resources or acquiring connections etc.
Declaration
void Init(IDictionary parameters, string cacheId)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IDictionary | parameters | Startup parameters defined in the configuration |
System.String | cacheId |
LoadNext(Object)
Responsible for loading of items.
Declaration
LoaderResult LoadNext(object userContext)
Parameters
Type | Name | Description |
---|---|---|
System.Object | userContext |
Returns
Type | Description |
---|---|
LoaderResult | LoaderResult |