/** * @param entry Entry. * @param bound Value bound. * @throws Exception If failed. */ private void checkEntry(GridCacheEntry<String, Integer> entry, int bound) throws Exception { assert entry != null; checkKey(entry.getKey()); checkValue(entry.getValue(), bound); checkValue(entry.get(), bound); }