Liran Zelkha has posted comments on this change. Change subject: engine: Make VDSPartial, a partially loaded VDS object ......................................................................
Patch Set 1: (1 comment) .................................................... File backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VdsDAODbFacadeImpl.java Line 354: vdsPartial.setStaticData(DbFacade.getInstance().getVdsStaticDao().get(vdsId)); Line 355: vdsPartial.setDynamicData(DbFacade.getInstance().getVdsDynamicDao().get(vdsId)); Line 356: Line 357: // TODO: A future patch will load this from cache Line 358: VDSGroup group = DbFacade.getInstance().getVdsGroupDao().get(vdsPartial.getVdsGroupId()); Because the goal of the future patch is to load the static, group and spm from cache - thus replacing the 3 current calls with 1. Line 359: vdsPartial.setVdsGroupCompatibilityVersion(group.getcompatibility_version()); Line 360: vdsPartial.setVdsGroupCpuName(group.getcpu_name()); Line 361: vdsPartial.setVdsGroupDescription(group.getdescription()); Line 362: vdsPartial.setVdsGroupName(group.getName()); -- To view, visit http://gerrit.ovirt.org/21662 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I7d72c21f1686c4031607d793bbbefcc3e45e98cb Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Liran Zelkha <lzel...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Barak Azulay <bazu...@redhat.com> Gerrit-Reviewer: Eli Mesika <emes...@redhat.com> Gerrit-Reviewer: Liran Zelkha <lzel...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches