|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface define methods to manage cache configuration of server.
| Method Summary | |
java.util.Vector |
getCachedCatalogs()
Return the filenames of catelog need to cache. |
java.util.Vector |
getCachedReports()
Return the filenames of report need to cache. |
java.util.Vector |
getCachedReportsWithStyles()
Return the filenames and styles of report need to cache. |
boolean |
getEnableCacheCatelog()
Return if cache catelog. |
boolean |
getEnableCacheReport()
Return if cache report. |
int |
getMaxCacheCatalogSize()
Return the max number of catelogs to be cached. |
int |
getMaxCacheReportSize()
Return max number of reports to be cached. |
void |
loadProperties()
set the properties of server |
void |
saveProperties()
Save the modifid setting to config file (server.properties). |
boolean |
setCachedCatalogs(java.util.Vector cachedCatalogs)
Set the filenames of catelog need to cache.if set success return true; |
boolean |
setCachedReports(java.util.Vector cachedReports)
Set the filenames of report need to cache.if set success return true; |
boolean |
setCachedReportsWithStyles(java.util.Vector cachedReportsWithStyles)
Set the filenames and styles of report need to cache.if set success return true; |
void |
setEnableCacheCatelog(boolean isEnableCacheCatelog)
Set if cache catelog. |
void |
setEnableCacheReport(boolean isEnableCacheReport)
Set if cache report. |
void |
setMaxCacheCatalogSize(int maxCacheCatalog)
Set the max number of catelogs to be cached. |
void |
setMaxCacheReportSize(int maxCacheReport)
Set max number of reports to be cached. |
void |
unloadCatalogs(java.util.Vector catalogNames)
Unload the filenames of catelog form cache. |
void |
unloadReports(java.util.Vector reportNames)
Unload the filenames of report need to cache. |
void |
unloadReportsWithStyles(java.util.Vector reportNamesWithStyles)
Unload the filenames and styles of report need to cache. |
| Method Detail |
public void setEnableCacheCatelog(boolean isEnableCacheCatelog)
isEnableCacheCatelog - if cache catelog.public boolean getEnableCacheCatelog()
public void setMaxCacheCatalogSize(int maxCacheCatalog)
maxCacheCatalog - the max number of catelogs to be cached.public int getMaxCacheCatalogSize()
public boolean setCachedCatalogs(java.util.Vector cachedCatalogs)
cachedCatalogs - the the filenames of catelog need to cache.public java.util.Vector getCachedCatalogs()
public void setEnableCacheReport(boolean isEnableCacheReport)
isEnableCacheReport - if cache report.public boolean getEnableCacheReport()
public void setMaxCacheReportSize(int maxCacheReport)
maxCacheReport - max number of reports to be cached.public int getMaxCacheReportSize()
public boolean setCachedReports(java.util.Vector cachedReports)
cachedReports - the filenames of report need to cache.public boolean setCachedReportsWithStyles(java.util.Vector cachedReportsWithStyles)
public java.util.Vector getCachedReports()
public java.util.Vector getCachedReportsWithStyles()
public void unloadCatalogs(java.util.Vector catalogNames)
catalogNames - the Vector which is filenames of catelog need to unload.public void unloadReports(java.util.Vector reportNames)
reportNames - the Vector which is filenames of report need to unload.public void unloadReportsWithStyles(java.util.Vector reportNamesWithStyles)
public void loadProperties()
public void saveProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||