/** {@inheritDoc} */ @Nullable @Override public MvccUpdateResult mvccLock(GridCacheMapEntry entry, MvccSnapshot mvccSnapshot) throws IgniteCheckedException { if (entry.detached() || entry.isNear()) return null; assert entry.lockedByCurrentThread(); return dataStore(entry.localPartition()).mvccLock(entry.context(), entry.key(), mvccSnapshot); }
/** {@inheritDoc} */ @Override public boolean mvccUpdateRowWithPreloadInfo( GridCacheMapEntry entry, @Nullable CacheObject val, GridCacheVersion ver, long expireTime, MvccVersion mvccVer, MvccVersion newMvccVer, byte mvccTxState, byte newMvccTxState ) throws IgniteCheckedException { assert entry.lockedByCurrentThread(); return dataStore(entry.localPartition()).mvccUpdateRowWithPreloadInfo( entry.context(), entry.key(), val, ver, expireTime, mvccVer, newMvccVer, mvccTxState, newMvccTxState ); }
/** {@inheritDoc} */ @Override public MvccUpdateResult mvccRemove( GridCacheMapEntry entry, MvccSnapshot mvccSnapshot, boolean primary, boolean needHistory, boolean needOldVal, @Nullable CacheEntryPredicate filter, boolean retVal) throws IgniteCheckedException { if (entry.detached() || entry.isNear()) return null; assert entry.lockedByCurrentThread(); return dataStore(entry.localPartition()).mvccRemove(entry.context(), entry.key(), mvccSnapshot, filter, primary, needHistory, needOldVal, retVal); }
return null; assert entry.lockedByCurrentThread();
if (lockedByCurrentThread()) { unlockEntry();
if (lockedByCurrentThread()) { unlockEntry();
if (entry.lockedByCurrentThread()) { entry.unlockEntry();
if (lockedByCurrentThread()) { unlockEntry();
if (entry.lockedByCurrentThread()) { entry.unlockEntry();
if (entry.lockedByCurrentThread()) { entry.unlockEntry();
if (lockedByCurrentThread()) { unlockEntry();
/** {@inheritDoc} */ @Nullable @Override public MvccUpdateResult mvccLock(GridCacheMapEntry entry, MvccSnapshot mvccSnapshot) throws IgniteCheckedException { if (entry.detached() || entry.isNear()) return null; assert entry.lockedByCurrentThread(); return dataStore(entry.localPartition()).mvccLock(entry.context(), entry.key(), mvccSnapshot); }
/** {@inheritDoc} */ @Override public boolean mvccUpdateRowWithPreloadInfo( GridCacheMapEntry entry, @Nullable CacheObject val, GridCacheVersion ver, long expireTime, MvccVersion mvccVer, MvccVersion newMvccVer, byte mvccTxState, byte newMvccTxState ) throws IgniteCheckedException { assert entry.lockedByCurrentThread(); return dataStore(entry.localPartition()).mvccUpdateRowWithPreloadInfo( entry.context(), entry.key(), val, ver, expireTime, mvccVer, newMvccVer, mvccTxState, newMvccTxState ); }
/** {@inheritDoc} */ @Override public MvccUpdateResult mvccRemove( GridCacheMapEntry entry, MvccSnapshot mvccSnapshot, boolean primary, boolean needHistory, boolean needOldVal, @Nullable CacheEntryPredicate filter, boolean retVal) throws IgniteCheckedException { if (entry.detached() || entry.isNear()) return null; assert entry.lockedByCurrentThread(); return dataStore(entry.localPartition()).mvccRemove(entry.context(), entry.key(), mvccSnapshot, filter, primary, needHistory, needOldVal, retVal); }
return null; assert entry.lockedByCurrentThread();
if (lockedByCurrentThread()) { unlockEntry();
if (lockedByCurrentThread()) { unlockEntry();
if (entry.lockedByCurrentThread()) { entry.unlockEntry();
if (lockedByCurrentThread()) { unlockEntry();
if (entry.lockedByCurrentThread()) { entry.unlockEntry();