diff options
Diffstat (limited to 'integrity-monitor/src/main/java/org/onap/policy/common/im/jmx/ComponentAdminMBean.java')
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/jmx/ComponentAdminMBean.java | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/integrity-monitor/src/main/java/org/onap/policy/common/im/jmx/ComponentAdminMBean.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/jmx/ComponentAdminMBean.java index 2c011935..3276cf63 100644 --- a/integrity-monitor/src/main/java/org/onap/policy/common/im/jmx/ComponentAdminMBean.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/jmx/ComponentAdminMBean.java @@ -26,27 +26,24 @@ import org.onap.policy.common.im.IntegrityMonitorException; * Provides operations to test health, lock and unlock components. */ public interface ComponentAdminMBean { - /** - * Test health of component. - * - * @throws IntegrityMonitorException - * if the component fails the health check - */ - void test() throws IntegrityMonitorException; + /** + * Test health of component. + * + * @throws IntegrityMonitorException if the component fails the health check + */ + void test() throws IntegrityMonitorException; - /** - * Administratively lock component. - * - * @throws IntegrityMonitorException - * if the component lock fails - */ - void lock() throws IntegrityMonitorException; - - /** - * Administratively unlock component. - * - * @throws IntegrityMonitorException - * if the component unlock fails - */ - void unlock() throws IntegrityMonitorException; + /** + * Administratively lock component. + * + * @throws IntegrityMonitorException if the component lock fails + */ + void lock() throws IntegrityMonitorException; + + /** + * Administratively unlock component. + * + * @throws IntegrityMonitorException if the component unlock fails + */ + void unlock() throws IntegrityMonitorException; } |