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 newConcurrentCache
instance.
-
Constructor Details
-
ConcurrentCacheFactory
public ConcurrentCacheFactory()
-
-
Method Details
-
newCacheManager
public CacheManager newCacheManager(CacheableFactory holderFactory, String name, int initialSize, int maximumSize) Create a newConcurrentCache
instance.- Specified by:
newCacheManager
in interfaceCacheFactory
- Parameters:
holderFactory
- factory which createsCacheable
sname
- name of the cacheinitialSize
- initial capacity of the cache (number of objects)maximumSize
- maximum size of the cache (number of objects)- Returns:
- a
ConcurrentCache
instance
-