void setAddress(int _address, DirectBufferWrapper sharedBuffer) throws IOException {
      if (doSanityCheck) assert _address % pageSize == 0;

      address = _address;
      addressInBuffer = getStorage().getOffsetInPage(address);
      disposeBuffer();
      if (sharedBuffer != null) {
        bufferWrapper = sharedBuffer;
        isSharedBuffer = true;
      }
      syncWithStore();
    }
void setAddress(int _address, DirectBufferWrapper sharedBuffer)