|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.swarmcache.CacheFactory
A convenient generator of multicast caches using an underlying LRU or Automatic algorithm.
Constructor Summary | |
protected |
CacheFactory()
|
|
CacheFactory(CacheConfiguration conf)
|
Method Summary | |
ObjectCache |
createCache(java.lang.String name)
Creates a new cache. |
MultiCacheManager |
getCacheManager()
Returns the manager that handles inter-cache communication. |
void |
shutdown()
CacheFactory lifecycle shutdown method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected CacheFactory()
public CacheFactory(CacheConfiguration conf)
Method Detail |
public ObjectCache createCache(java.lang.String name)
name
- a name for the cache. Useful if there will be multiple caches for various objects.
public MultiCacheManager getCacheManager()
public void shutdown()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |