org.jaffa.cache
Class CacheManager

java.lang.Object
  extended byorg.jaffa.cache.CacheManager

public class CacheManager
extends Object

This will return an instance of ICache for the given named cache. For the time being this will merely return an instance of the WeakCache. Later this will be enhanced to read a configuration file to load the appropriate ICache implementation based on the name, with all the appropriate tuning parameters.

Author:
GautamJ

Constructor Summary
CacheManager()
           
 
Method Summary
static ICache getCache(String cacheName)
          This will return an instance of the ICache for the input cache-name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheManager

public CacheManager()
Method Detail

getCache

public static ICache getCache(String cacheName)
This will return an instance of the ICache for the input cache-name.

Parameters:
cacheName - The name of the cache
Returns:
an ICache implementation for the input cache-name.


Copyright © 2002-2004 JAFFA Project.