Allon Mureinik has posted comments on this change.

Change subject: 13. core: Introducing "end command coordination" by command Id
......................................................................


Patch Set 7: (2 inline comments)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/EntityAsyncTask.java
Line 23: /**
Line 24:  * Base class for all tasks regarding a specific command.
Line 25:  */
Line 26: public class EntityAsyncTask extends SPMAsyncTask {
Line 27:     private static final Object _lockObject = new Object();
I don't get this lock object.
Wouldn't a ConcurrentHashMap do the trick?
What am I missing?
Line 28: 
Line 29:     private static final Map<Guid, EntityMultiAsyncTasks> 
_multiTasksByCommandIds =
Line 30:             new HashMap<Guid, EntityMultiAsyncTasks>();
Line 31: 


....................................................
Commit Message
Line 8: 
Line 9: The following patch changes EntityAsyncTask and EntityMultiAsyncTasks
Line 10: to perform tasks completion coordination (in order to run endAction) 
based
Line 11: on command Ids (the parent command Id), and not the entity Id
Line 12: 
Please add  a link to the feature page
Line 13: Change-Id: I53999748c791aae04287efaa01c10ea7037e5ff2


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I53999748c791aae04287efaa01c10ea7037e5ff2
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to