Alachisoft NCache 4.1 - Online Documentation

Enabling Cache Startup Loader

 
Configuring Startup Loader in NCache Manager:
 
To enable Cache Startup Loader, you need to implement CacheLoader and specify it in the cache properties. NCache Manager provides an interface for specifying it under the cache properties. For Cache Startup Loader, follow these steps:
 
  1. From the start programs, launch NCache Manager.
  2. Open the project containing cache or cluster for which you want to configure the Cache Startup Loader.
  3. From the explorer, select the cache or cluster. In the right pane, cluster/cache view will be opened.
  4. From the view, select the Cache Loader tab.
  5. Check the Enable Cache-Startup Loader check box.
  6. Click Browse button and browse the Assembly that contains the class implementing ICacheLoader and then select class name from the list. The Assembly implementing ICacheLoader must contain the reference of NCRuntime.jar.
  7. You can provide some additional parameters (like chunkSize etc.) if required.
  8. You can specify number of retries if any cache operation fails.
  9. You can also specify retry interval between each retry. This value is in sec's.
  10. Deploy the appropriate assemblies to the cache servers using the Deploy Cache Loader button on a same tab view.
 
 
Deployment:
 
For deployment details, kindly visit Deploying Cache Loader page.
 
 
Note: Restart your NCache Service after deploying the CacheLaoder provider.
 
 
 
See Also
 
Copyright © 2005-2012 Alachisoft. All rights reserved.