private INodeAttributes findByPrimaryKey(INodeAttributes.Finder qfinder, Object[] params)
     throws StorageCallPreventedException, StorageException {
   final int inodeId = (Integer) params[0];
   INodeAttributes result = null;
   if (contains(inodeId)) {
     result = get(inodeId);
     hit(qfinder, result, "inodeid", inodeId);
   } else {
     aboutToAccessStorage(qfinder, params);
     result = dataAccess.findAttributesByPk(inodeId);
     gotFromDB(inodeId, result);
     miss(qfinder, result, "inodeid", inodeId, "size", size());
   }
   return result;
 }