ce0e4d5a339f5092327b703ac12820d446866c77
Files Diff
- Added: 0
 - Removed: 0
 - Renamed: 0
 - Modified: 18
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Variable | 2 | ||
| Rename Variable lockHolder : ODistributedRequestId to lastLockHolder : ODistributedRequestId in method protected acquireMultipleRecordLocks(iTx OTransaction, maxAutoRetry int, autoRetryDelay int, eventListener ODistributedStorageEventListener, reqContext ODistributedTxContext) : void in class com.orientechnologies.orient.server.distributed.impl.ODistributedTransactionManager | From | To | |
| Rename Variable acquiredRecordLock : AtomicBoolean to lockReleased : AtomicBoolean in method private executeRecordOperationInLock(iUnlockAtTheEnd boolean, rid ORecordId, callback OCallable<Object,OCallable<Void,ODistributedRequestId>>) : Object in class com.orientechnologies.orient.server.distributed.impl.ODistributedStorage | From | To | |
| Extract Variable | 2 | ||
| Extract Variable rid2Lock : ORecordId in method public execute(requestId ODistributedRequestId, iServer OServer, iManager ODistributedServerManager, database ODatabaseDocumentInternal) : Object from class com.orientechnologies.orient.server.distributed.task.OAbstractRecordReplicatedTask | From | To | |
| Extract Variable rid2Lock : ORecordId in method private executeRecordOperationInLock(iUnlockAtTheEnd boolean, rid ORecordId, callback OCallable<Object,OCallable<Void,ODistributedRequestId>>) : Object from class com.orientechnologies.orient.server.distributed.impl.ODistributedStorage | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type owner : ODistributedRequestId to owner : ODistributedLock in method public unlockRecord(iRecord OIdentifiable, requestId ODistributedRequestId) : void in class com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl | From | To | |
| Extract Method | 2 | ||
| Extract Method protected releaseRecordLock(rid ORecordId, requestId ODistributedRequestId) : void extracted from private executeRecordOperationInLock(iUnlockAtTheEnd boolean, rid ORecordId, callback OCallable<Object,OCallable<Void,ODistributedRequestId>>) : Object in class com.orientechnologies.orient.server.distributed.impl.ODistributedStorage | From | To | |
| Extract Method protected waitStartupIsCompleted() : void extracted from public startup() : void in class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type lockManager : ConcurrentHashMap<ORID,ODistributedRequestId> to lockManager : ConcurrentHashMap<ORID,ODistributedLock> in class com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl | From | To |