Class ConcurrentCacheFactory
java.lang.Object
org.apache.derby.impl.services.cache.ConcurrentCacheFactory
- All Implemented Interfaces:
CacheFactory
Factory class which creates cache manager instances based on the
ConcurrentCache implementation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewCacheManager(CacheableFactory holderFactory, String name, int initialSize, int maximumSize) Create a newConcurrentCacheinstance.
-
Constructor Details
-
ConcurrentCacheFactory
public ConcurrentCacheFactory()
-
-
Method Details
-
newCacheManager
public CacheManager newCacheManager(CacheableFactory holderFactory, String name, int initialSize, int maximumSize) Create a newConcurrentCacheinstance.- Specified by:
newCacheManagerin interfaceCacheFactory- Parameters:
holderFactory- factory which createsCacheablesname- name of the cacheinitialSize- initial capacity of the cache (number of objects)maximumSize- maximum size of the cache (number of objects)- Returns:
- a
ConcurrentCacheinstance
-