boolean (final ByteBuffer pageBuffer, final int recordOffsetOnPage, final int fieldRelativeOffset, final int newValue) { final int fieldOffsetOnPage = recordOffsetOnPage + fieldRelativeOffset; final int oldValue = (int)INT_HANDLE.getVolatile(pageBuffer, fieldOffsetOnPage); if (oldValue != newValue) { setIntVolatile(pageBuffer, fieldOffsetOnPage, newValue); incrementRecordVersion(pageBuffer, recordOffsetOnPage); return true; } return false; }