226227228229230231232233234235236
} public void deleteRecord(Data key) { Record record = records.remove(key); if (record != null) { record.invalidate(); } } public Map<Data, Record> getReadonlyRecordMap() { return Collections.unmodifiableMap(records);
274275276277278279280281282283284
case OFFHEAP: Iterator<Record> iter = records.values().iterator(); while (iter.hasNext()) { Record record = iter.next(); if (excludeRecords == null || !excludeRecords.containsKey(record.getKey())) { record.invalidate(); iter.remove(); } } return;
195196197198199200201202203204205
139140141142143144145146147148149
@Override public void deleteRecord(Data key) { Record record = records.remove(key); if (record != null) { record.invalidate(); } } @Override public Iterator<Record> iterator() {