Change in ovirt-engine[master]: core: Inject CacheManager instead of jndi lookup

rgolan at redhat.com rgolan at redhat.com
Thu May 28 07:51:10 UTC 2015


Roy Golan has submitted this change and it was merged.

Change subject: core: Inject CacheManager instead of jndi lookup
......................................................................


core: Inject CacheManager instead of jndi lookup

- Make CacheManager a @Singleton bean
- don't do a jndi lookup for every invocation just to get the internal
  cache instance

Change-Id: I02f480abf1739c717f37f174d968b780f7fbd2a0
Signed-off-by: Roy Golan <rgolan at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/BackendService.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/TimeoutBase.java
A backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/utils/CacheManager.java
D backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/cache/CacheManager.java
5 files changed, 45 insertions(+), 17 deletions(-)

Approvals:
  Eli Mesika: Looks good to me, approved
  Roy Golan: Verified
  Liran Zelkha: Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/41036
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I02f480abf1739c717f37f174d968b780f7fbd2a0
Gerrit-PatchSet: 12
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzelkha at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list