|
DODS 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class contains data and mechanisms needed for caching data objects and queries.
Method Summary | |
boolean |
getCacheReadOnly()
Returns read-only attribute. |
int |
getCacheSize()
Returns size of currently used cache. |
java.lang.String |
getCacheType()
Get cache type. |
int |
getComplexQueryCacheSize()
Returns size of currently used complex query cache. |
java.lang.String |
getInitialQueryCache()
Returns initialQueryCache. |
int |
getMaxCacheSize()
Returns maximum cache size. |
int |
getMaxCacheSize(boolean real)
Get maximum cache size. |
int |
getMaxComplexQueryCacheSize()
Returns maximum size of complex query cache. |
int |
getMaxComplexQueryCacheSize(boolean real)
Returns maximum size of complex query cache. |
int |
getMaxSimpleQueryCacheSize()
Returns maximum size of simple query cache. |
int |
getMaxSimpleQueryCacheSize(boolean real)
Returns maximum size of simple query cache. |
int |
getSimpleQueryCacheSize()
Returns size of currently used simple query cache. |
boolean |
isFull()
Returns |
void |
setCacheReadOnly(boolean readOnly)
Sets read-only attribute. |
void |
setInitialQueryCache(java.lang.String initQ)
Sets initialQueryCache attribute. |
void |
setMaxCacheSize(int maxSize)
Sets maximum cache size. |
void |
setMaxComplexQueryCacheSize(int maxSize)
Sets maximum size of complex query cache. |
void |
setMaxSimpleQueryCacheSize(int maxSize)
Sets maximum size of simple query cache. |
Method Detail |
public int getMaxCacheSize()
public int getMaxCacheSize(boolean real)
real
- If this parameter is true method return real maximum cache
size, othervise return appropriate value for statistic.
public int getCacheSize()
public void setMaxCacheSize(int maxSize)
maxSize
- Maximum cache size.public int getMaxSimpleQueryCacheSize()
public int getMaxSimpleQueryCacheSize(boolean real)
real
- If this parameter is true method return real maximum cache
size, othervise return appropriate value for statistic.
public void setMaxSimpleQueryCacheSize(int maxSize)
maxSize
- maximum size of simple query cache.public int getSimpleQueryCacheSize()
public int getMaxComplexQueryCacheSize()
public int getMaxComplexQueryCacheSize(boolean real)
real
- If this parameter is true method return real maximum cache
size, othervise return appropriate value for statistic.
public void setMaxComplexQueryCacheSize(int maxSize)
maxSize
- maximum size of complex query cache.public int getComplexQueryCacheSize()
public void setCacheReadOnly(boolean readOnly)
readOnly
- New read-only value.public boolean getCacheReadOnly()
public void setInitialQueryCache(java.lang.String initQ)
initQ
- New initialQueryCache.public java.lang.String getInitialQueryCache()
public boolean isFull()
public java.lang.String getCacheType()
|
DODS 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |