Package org.apache.commons.jcs3.admin
Class CacheRegionInfo
java.lang.Object
org.apache.commons.jcs3.admin.CacheRegionInfo
Stores info on a cache region for the template
-
Constructor Summary
ConstructorDescriptionCacheRegionInfo
(String cacheName, int cacheSize, String cacheStatus, String cacheStatistics, long hitCountRam, long hitCountAux, long missCountNotFound, long missCountExpired, long byteCount) Parameterized constructor -
Method Summary
Modifier and TypeMethodDescriptionlong
int
Return the statistics for the region.long
long
long
long
toString()
-
Constructor Details
-
CacheRegionInfo
@ConstructorProperties({"cacheName","cacheSize","cacheStatus","cacheStatistics","hitCountRam","hitCountAux","missCountNotFound","missCountExpired","byteCount"}) public CacheRegionInfo(String cacheName, int cacheSize, String cacheStatus, String cacheStatistics, long hitCountRam, long hitCountAux, long missCountNotFound, long missCountExpired, long byteCount) Parameterized constructor- Parameters:
cacheName
- The name of the cache regioncacheSize
- The size of the cache regioncacheStatus
- The status of the cache regioncacheStatistics
- The statistics of the cache regionhitCountRam
- The number of memory hits in the cache regionhitCountAux
- The number of auxiliary hits in the cache regionmissCountNotFound
- The number of misses in the cache region because the items were not foundmissCountExpired
- The number of misses in the cache region because the items were expiredbyteCount
- The number of bytes counted so far, will be a total of all items
-
-
Method Details
-
getCacheName
- Returns:
- the cacheName
-
getCacheSize
- Returns:
- the cacheSize
-
getCacheStatus
- Returns:
- a status string
-
getCacheStatistics
Return the statistics for the region.- Returns:
- String
-
getHitCountRam
- Returns:
- the hitCountRam
-
getHitCountAux
- Returns:
- the hitCountAux
-
getMissCountNotFound
- Returns:
- the missCountNotFound
-
getMissCountExpired
- Returns:
- the missCountExpired
-
getByteCount
- Returns:
- total byte count
-
toString
-