<cfset application.cacheEngine = creatObject('java','com.universalmind.cacheProviders.KonaCache').init()/>
This creates a cache instance with a default of 16 top level objects. If you wish to change this, you can specify it in the init() function.
Like I said earlier, there is a JavaDoc that is included in the download.Introducing Kona Cache: Java-Powered ColdFusion Caching
September 6, 2007 · No Comments
There is a crucial element to this cache provider, the three-element cache key. It is recommended that you use a key in the style of ("myCFCName.myFunctionName.UniqueIdentifier"). The key is structured so that it can properly organize the cache for retrieval. Full documentation is provided in the /doc folder along with the application jar file. To install, simply drop the jar file into your ColdFusion Server's classpath.
To invoke (usually in the application scope, so it can persist through the life of the application) use the following code:
Tags: Caching · ColdFusion · Java























0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment