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 <aha...@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 <aha...@redhat.com> Gerrit-Reviewer: Arik Hadas <aha...@redhat.com> Gerrit-Reviewer: Michael Kublin <mkub...@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches