|
||||||||||
| 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 hold
public CacheManager newSizedCacheManager(CacheableFactory holderFactory,
java.lang.String name,
int initialSize,
long maximumSize)
holderFactory - The Class object representing the holder class.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
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||