|
EAF 7.6 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheStatistics
This interface provides information about query statistics of the cache (DO (data object), simple query or complex query cache).
Method Summary | |
---|---|
void |
clearStatistics()
Clears statistics. |
int |
getCacheAccessNum()
Returns total number of times the cache was accessed. |
int |
getCacheHitsNum()
Returns number of cache accesses that were successful. |
double |
getCacheHitsPercents()
Returns how many cache accesses were successful. |
double |
getUsedPercents()
Returns how much cache is currently used. |
void |
incrementCacheAccessNum(int num)
Increases total number of times the cache was accessed. |
void |
incrementCacheHitsNum(int num)
Increases of cache accesses that were successful. |
void |
setCacheAccessNum(int num)
Sets total number of times the cache was accessed. |
void |
setCacheHitsNum(int cacheHitsNum)
Sets number of qof cache accesses that were successful. |
Method Detail |
---|
int getCacheAccessNum()
void setCacheAccessNum(int num)
num
- Total number of times the cache was accessed.void incrementCacheAccessNum(int num)
int getCacheHitsNum()
void setCacheHitsNum(int cacheHitsNum)
cacheHitsNum
- Number of of cache accesses that were successful.void incrementCacheHitsNum(int num)
double getUsedPercents()
double getCacheHitsPercents()
void clearStatistics()
|
EAF 7.6 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |