|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheConfiguration
A description of cache configuration.
Method Summary | |
---|---|
URL |
getCacheDir()
Get the location where this cache stores its files. |
long |
getCacheTime()
Get the number of miliseconds the cache stores things usually. |
long |
getMaxSize()
Get the maximum size for this cache. |
void |
setCacheTime(long newCacheTime)
Set the standard expiry-time for CacheEntries |
void |
setMaxSize(long newMaxSize)
Set the maximum size for this cache. |
void |
setup(Logger logger,
SProperties config)
Set the internal state from the given properties |
Method Detail |
---|
long getMaxSize()
void setMaxSize(long newMaxSize)
newMaxSize
- the new maximum size for the cache.long getCacheTime()
void setCacheTime(long newCacheTime)
newCacheTime
- the number of miliseconds to keep objects normally.URL getCacheDir()
void setup(Logger logger, SProperties config)
logger
- the Logger to use for warnings or errorsconfig
- the properties to use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |