747576777879808182
} else { final byte[] bytes = new byte[SIZE]; mappedByteBuffer.get(bytes, 0, SIZE); this.deleted = (bytes[0] == (byte) 1 ? true : false); this.opItem = new OpItem(); this.opItem.parse(bytes, 1, bytes.length - 1); } }
949596979899100101102103104
@Override public OpItem get(final BytesKey key) { this.lock.lock(); try { OpItem result = map.get(key); if (result == null && enableLRU) { result = handler.getDiskMap().get(key); } return result; }
223224225226227228229230231232233
@Override public void remove(final BytesKey key) { lock.lock(); try { final OpItem result = map.remove(key); if (result == null && enableLRU) { try { handler.getDiskMap().remove(key); } catch (final IOException e) {