Change in ovirt-engine[master]: core: helper methods to create locking pair

mkublin at redhat.com mkublin at redhat.com
Sun Mar 17 09:11:17 UTC 2013


Michael Kublin has submitted this change and it was merged.

Change subject: core: helper methods to create locking pair
......................................................................


core: helper methods to create locking pair

It is becoming more and more common to use the new infrastructure that
allows us to attach customized error message to a lock, that will be
shown in case other locks cannot be acquired because of that lock.

This patch adds helper methods in LockMessagesMatchUtils class for
creating the locking pair which contains locking group and the
customized error message.

Change-Id: Id0c854cfc3b6cb1b7f7f4907452e116af5fbf6bf
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmFromTemplateCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LockMessagesMatchUtil.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveDiskCommand.java
3 files changed, 53 insertions(+), 31 deletions(-)

Approvals:
  Michael Kublin: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/13098
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id0c854cfc3b6cb1b7f7f4907452e116af5fbf6bf
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>



More information about the Engine-commits mailing list