import net.sf.ehcache.CacheManager; //导入方法依赖的package包/类
/**
* Creates cache stats panel.
*/
private Panel makeCacheStatsPanel() {
final MessagePanel result = new MessagePanel("Cache statistis");
try {
final GridIterator gi = new GridIterator(result.getUserPanel(), 5);
gi.add(new BoldCommonLabel("Name"))
.add(new BoldCommonLabel("Hit count"))
.add(new BoldCommonLabel("Miss count expired"))
.add(new BoldCommonLabel("Miss count not found"))
.add(new BoldCommonLabel("Miss percent"))
;
final CacheManager cacheMan = CacheManager.getInstance();
final String[] cacheNames = cacheMan.getCacheNames();
Arrays.sort(cacheNames);
int totalHitCount = 0;
int totalMissCount = 0;
for (int i = 0; i < cacheName