} catch (SQLException e) {
Logger.error(DotGuavaCacheAdministratorImpl.class, e.getMessage(), e);
}
}
Cache dCache = getCache(DEFAULT_CACHE);
for (String group : myGroups) {
Map<String, Object> m = new HashMap<String, Object>();
m.put("cache", getCache(group));
String region = group.toString();
m.put("region", region);
m.put("toDisk", new Boolean(isDiskCache(group)));
boolean isDefault = false;
try {
Cache n = getCache(group);
m.put("memory", n.size());
m.put("CacheStats", n.stats());
isDefault = (!DEFAULT_CACHE.equals(group) && n.equals(dCache));
} catch (Exception e) {
}
m.put("isDefault", isDefault);