*/
public Exchange fetchAndStore() throws PersistitException {
assertCorrectThread(true);
_persistit.checkClosed();
if (_volume.isReadOnly()) {
throw new ReadOnlyVolumeException(_volume.toString());
}
_persistit.checkSuspended();
_key.testValidForStoreAndFetch(_volume.getPageSize());
int options = StoreOptions.WAIT | StoreOptions.FETCH;
options |= (!_ignoreTransactions && _transaction.isActive()) ? StoreOptions.MVCC : 0;