|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> services >> [ cache overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.iapi.services.cache
Interface CacheFactory

- 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.
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> services >> [ cache overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC