|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface StreamCachingStrategy.Statistics
Utilization statistics of stream caching.
Method Summary | |
---|---|
long |
getCacheMemoryAverageSize()
Gets the average number of bytes per cached stream for in-memory stream caches. |
long |
getCacheMemoryCounter()
Gets the counter for number of in-memory StreamCache created. |
long |
getCacheMemorySize()
Gets the total accumulated number of bytes which has been stream cached for in-memory stream caches. |
long |
getCacheSpoolAverageSize()
Gets the average number of bytes per cached stream for spooled (not in-memory) stream caches. |
long |
getCacheSpoolCounter()
Gets the counter for number of spooled (not in-memory) StreamCache created. |
long |
getCacheSpoolSize()
Gets the total accumulated number of bytes which has been stream cached for spooled stream caches. |
boolean |
isStatisticsEnabled()
Whether statistics is enabled. |
void |
reset()
Reset the counters |
void |
setStatisticsEnabled(boolean statisticsEnabled)
Sets whether statistics is enabled. |
Method Detail |
---|
long getCacheMemoryCounter()
StreamCache
created.
long getCacheMemorySize()
long getCacheMemoryAverageSize()
long getCacheSpoolCounter()
StreamCache
created.
long getCacheSpoolSize()
long getCacheSpoolAverageSize()
void reset()
boolean isStatisticsEnabled()
void setStatisticsEnabled(boolean statisticsEnabled)
statisticsEnabled
- true to enable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |