Change in ovirt-engine[master]: restapi: Faster JAXB element creation

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Jul 15 11:26:33 UTC 2014


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Faster JAXB element creation
......................................................................


restapi: Faster JAXB element creation

Currently when we need to create a JAXB element we always iterate the
object factory looking for the appropiate method. To improve the
performance of this lookup this patch introduces an index that is
created during startup so that the iteration is done only once.

Change-Id: Ie6f2cc91701ff45a443d3b8b37e8225d7b26c4fa
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/xml/JAXBProvider.java
1 file changed, 19 insertions(+), 13 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  anmolbabu: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie6f2cc91701ff45a443d3b8b37e8225d7b26c4fa
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose at redhat.com>
Gerrit-Reviewer: anmolbabu <anbabu at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list