Alachisoft NCache 4.1 - Online Documentation

Initialize Cache

 
After you have configured the cache, embed NCache API calls in your application to use it. The first thing you need to do is to initialize the cache. The code for initializing the cache is as follows:
 
import com.alachisoft.ncache.web.caching.*;
Cache _cache = NCache.initializeCache("myCache");
 
 
See Also
 
Copyright © 2005-2012 Alachisoft. All rights reserved.