keys.add(getEntityKey(clazz, id));
result.put(id, null);
}
try {
Map items = getCache().getAll(keys);
for (CacheItem item : (Collection<CacheItem>)items.values()) {
if (item != null) {
Date globalResetDate = getCache().getResetDate();
if (globalResetDate == null
|| item.getTimestamp().after(globalResetDate)) {
getDaoStat().incEntityCacheHits();