Change in ovirt-engine[master]: core: Changing and improving acquire and wait lock
mkublin at redhat.com
mkublin at redhat.com
Mon Jul 30 12:27:04 UTC 2012
Michael Kublin has submitted this change and it was merged.
Change subject: core: Changing and improving acquire and wait lock
......................................................................
core: Changing and improving acquire and wait lock
The following patch will change acquire and lock mechanism.
The following mechanism will allow for command to wait for one exclusive lock.
I am using only one exclusive lock in order to simplify a process , also with assumption that
the acquire and lock mechanism should not use widely
Change-Id: Id6fe46556eddad9bc2812320872fd3b99f7d2b7b
Signed-off-by: Michael Kublin <mkublin at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LockIdNameAttribute.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/lock/InMemoryLockManager.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/locks/LockingGroup.java
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/lock/EngineLock.java
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/lock/LockManager.java
6 files changed, 44 insertions(+), 17 deletions(-)
Approvals:
Michael Kublin: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/6751
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id6fe46556eddad9bc2812320872fd3b99f7d2b7b
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
More information about the Engine-commits
mailing list