org.apache.derby.impl.services.cache
Class ConcurrentCacheFactory

java.lang.Object
  extended by org.apache.derby.impl.services.cache.ConcurrentCacheFactory
All Implemented Interfaces:
CacheFactory

public class ConcurrentCacheFactory
extends java.lang.Object
implements CacheFactory

Factory class which creates cache manager instances based on the ConcurrentCache implementation.


Constructor Summary
ConcurrentCacheFactory()
           
 
Method Summary
 CacheManager newCacheManager(CacheableFactory holderFactory, java.lang.String name, int initialSize, int maximumSize)
          Create a new ConcurrentCache instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcurrentCacheFactory

public ConcurrentCacheFactory()
Method Detail

newCacheManager

public CacheManager newCacheManager(CacheableFactory holderFactory,
                                    java.lang.String name,
                                    int initialSize,
                                    int maximumSize)
Create a new ConcurrentCache instance.

Specified by:
newCacheManager in interface CacheFactory
Parameters:
holderFactory - factory which creates Cacheables
name - name of the cache
initialSize - initial capacity of the cache (number of objects)
maximumSize - maximum size of the cache (number of objects)
Returns:
a ConcurrentCache instance

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.