|
EAF 7.4 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.dods.cache.CacheAdministration
public abstract class CacheAdministration
CacheAdministration handles configuration settings about cache (data object (or DataStruct object), simple query or complex query cache).
Constructor Summary | |
---|---|
CacheAdministration()
|
Method Summary | |
---|---|
abstract void |
disable()
Disables cache. |
abstract void |
enable()
Enables cache. |
abstract int |
getCacheSize()
Returns current size of the cache (number of elements in the cache). |
abstract int |
getMaxCacheSize()
Returns maximum cache size. |
abstract int |
getMaxCacheSize(boolean real)
Returns maximum cache size. |
abstract void |
refresh()
Refreshes cache. |
protected abstract void |
setMaxCacheSize(int maxSize)
Sets maximum cache size. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheAdministration()
Method Detail |
---|
public abstract int getMaxCacheSize()
public abstract int getMaxCacheSize(boolean real)
real
- If this parameter is true, this method returns real maximum
cache size, otherwise returns appropriate value for statistics.
public abstract int getCacheSize()
protected abstract void setMaxCacheSize(int maxSize) throws CacheObjectException
maxSize
- Maximum cache size.
CacheObjectException
public abstract void refresh()
public abstract void disable()
public abstract void enable()
|
EAF 7.4 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |