Yair Zaslavsky has posted comments on this change.

Change subject: engine: Introduction of command entity dao
......................................................................


Patch Set 7:

(2 comments)

http://gerrit.ovirt.org/#/c/26337/7/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandsCacheImpl.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandsCacheImpl.java:

Line 28:         }
Line 29:     }
Line 30: 
Line 31:     @Override
Line 32:     public synchronized CommandEntity get(Guid commandId) {
not sure if i have asked this before - why synchronized? doesnt the cache work 
like concurrent hashmap?
Line 33:         if (!cacheInitialized) {
Line 34:             initializeCache();
Line 35:             cacheInitialized = true;
Line 36:         }


http://gerrit.ovirt.org/#/c/26337/7/packaging/dbscripts/command_entities_sp.sql
File packaging/dbscripts/command_entities_sp.sql:

Line 25:    AS $procedure$
Line 26: BEGIN
Line 27:       UPDATE command_entities
Line 28:       SET command_type = v_command_type ,
Line 29:           parent_command_id = v_parent_command_id, 
TWS, please remove
Line 30:           root_command_id = v_root_command_id,
Line 31:           action_parameters = v_action_parameters,
Line 32:           action_parameters_class = v_action_parameters_class,
Line 33:           created_at = v_created_at


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I463102d85de7558fbcab23585ad6b48cdc35c0a0
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Greg Padgett <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to