|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Cache
Interface for cache configuration methods
Method Summary | |
---|---|
int |
getAvailableSlots()
Returns the number of available slots currently in the cache |
Cache |
getCache()
Returns the current record cache object being used |
int |
getDataCacheSize()
Get the current size of the cache |
int |
getFetchSize()
Get the current prefetch buffer size |
double |
getFetchView()
Get the current prefetch buffer behaviour setting |
void |
setCache(Cache cache)
Sets the record cache object to use |
void |
setDataCacheSize(int dataCacheSize)
Set the size of the internal cache |
void |
setFetchSize(int fetchSize)
Set the size of the prefetch buffer |
void |
setFetchView(double fetchView)
Set the prefetch buffer behaviour |
Method Detail |
---|
void setCache(Cache cache)
cache
- The concrete class implementing the org.jafer.record.Cache interfaceCache getCache()
void setDataCacheSize(int dataCacheSize)
dataCacheSize
- sizew of cacheint getDataCacheSize()
void setFetchSize(int fetchSize)
fetchSize
- buffer sizeint getFetchSize()
void setFetchView(double fetchView)
fetchView
- prefetch beheviourdouble getFetchView()
int getAvailableSlots()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |