Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.iapi.services.cache
Interface CacheFactory  view CacheFactory download CacheFactory.java


public interface CacheFactory

A factory for handing out caches.


Method Summary
 CacheManager newCacheManager(CacheableFactory holderFactory, java.lang.String name, int initialSize, int maximumSize)
          Create a cache that uses the class represented by holderClass as the holder class.
 CacheManager newSizedCacheManager(CacheableFactory holderFactory, java.lang.String name, int initialSize, long maximumSize)
          Create a cache that uses the class represented by holderClass as the holder class.
 

Method Detail

newCacheManager

public CacheManager newCacheManager(CacheableFactory holderFactory,
                                    java.lang.String name,
                                    int initialSize,
                                    int maximumSize)
Create a cache that uses the class represented by holderClass as the holder class. This holderClass must implement Cacheable.


newSizedCacheManager

public CacheManager newSizedCacheManager(CacheableFactory holderFactory,
                                         java.lang.String name,
                                         int initialSize,
                                         long maximumSize)
Create a cache that uses the class represented by holderClass as the holder class. This holderClass must implement Cacheable.