Alex Lourie has uploaded a new change for review.

Change subject: engine : Added option to call some methods of lock util over JMX
......................................................................

engine : Added option to call some methods of lock util over JMX

The following patch will allow to invoke two methods of the lock util via JMX 
console:
1. clear - allow to clear all locks in the sytem
2. showAllLocks - will return a list of all currently held locks in the sytem, 
they also will be written to log
3. Also the implementation was moved to bll package, as an interface of jmx
4. A new methods were introduced in InMemoryLockManager , which should register 
a bean as jmx during start up and un register it
   during shutdown

Change-Id: I43183d2c68fba805dadcfe8225977cc2565423d6
---
R 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/lock/InMemoryLockManager.java
A 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/lock/LockManagerMonitorMXBean.java
R 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/lock/InMemoryLockManagerTest.java
M 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ejb/BeanType.java
M 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ejb/EngineEJBUtilsStrategy.java
M 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ejb/JBossEmbeddedEJBUtilsStrategy.java
M 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/lock/LockManager.java
M 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/lock/LockManagerFactory.java
8 files changed, 176 insertions(+), 22 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/51/1451/1
--
To view, visit http://gerrit.ovirt.org/1451
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I43183d2c68fba805dadcfe8225977cc2565423d6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: engine_3.0
Gerrit-Owner: Alex Lourie <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to