|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public CacheManager newCacheManager(CacheableFactory holderFactory, java.lang.String name, int initialSize, int maximumSize)
holderFactory
- The factory for the objects that are to be cached.name
- The name of the cacheinitialSize
- The number of initial holder objects that will be createdmaximumSize
- The maximum number of objects the cache will holdpublic CacheManager newSizedCacheManager(CacheableFactory holderFactory, java.lang.String name, int initialSize, long maximumSize)
name
- The name of the cacheinitialSize
- The number of initial holder objects that will be createdmaximumSize
- The maximum total size of the objects that the cache will hold
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |