if (newValue.getRecoveredKeyId() >= 0) { entry.setValueWithContext(context, entry.prepareValueForCache(drv, newValue.getValue(), false, false));
if (newValue.getRecoveredKeyId() >= 0) { entry.setValueWithContext(context, entry.prepareValueForCache(drv, newValue.getValue(), false));
did.setOplogId(re.getOplogId()); did.setOffsetInOplog(re.getOffsetInOplog()); did.setKeyId(re.getRecoveredKeyId()); did.setUserBits(re.getUserBits()); did.setValueLength(re.getValueLength()); if (re.getRecoveredKeyId() < 0) { drv.incNumOverflowOnDisk(1L); incrementBucketStats(r, 0/*InVM*/, 1/*OnDisk*/, did.getValueLength());
if (re.getRecoveredKeyId() < 0) { if (!entry.isValueNull()) { try {
if (re.getRecoveredKeyId() < 0) { if (!entry.isValueNull()) { try {
did.setOplogId(re.getOplogId()); did.setOffsetInOplog(re.getOffsetInOplog()); did.setKeyId(re.getRecoveredKeyId()); did.setUserBits(re.getUserBits()); did.setValueLength(re.getValueLength()); if (re.getRecoveredKeyId() < 0) { drv.incNumOverflowOnDisk(1L); drv.incNumOverflowBytesOnDisk(did.getValueLength());
public ValidatingDiskEntry(Object key, DiskEntry.RecoveredEntry re) { this.key = key; this.diskId = DiskId.createDiskId(1, true, false); this.diskId.setKeyId(re.getRecoveredKeyId()); this.diskId.setOffsetInOplog(re.getOffsetInOplog()); this.diskId.setOplogId(re.getOplogId()); this.diskId.setUserBits(re.getUserBits()); this.diskId.setValueLength(re.getValueLength()); } public Object getKey() {
public ValidatingDiskEntry(Object key, DiskEntry.RecoveredEntry re) { this.key = key; this.diskId = DiskId.createDiskId(1, true, false); this.diskId.setKeyId(re.getRecoveredKeyId()); this.diskId.setOffsetInOplog(re.getOffsetInOplog()); this.diskId.setOplogId(re.getOplogId()); this.diskId.setUserBits(re.getUserBits()); this.diskId.setValueLength(re.getValueLength()); } public Object getKey() {