Remove DatastoreConfigurationMXBean IMDS properties 82/93282/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 22 Oct 2020 21:08:38 +0000 (23:08 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 22 Oct 2020 21:08:38 +0000 (23:08 +0200)
These properties are unused and have been returning 0 for quite
some time. Remove them.

Change-Id: I1c532d83dbd3d8648cfee816f35dc2357394b26d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/jmx/mbeans/DatastoreConfigurationMXBean.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/jmx/mbeans/DatastoreConfigurationMXBeanImpl.java

index 2d800c3..2b9306c 100644 (file)
@@ -7,7 +7,6 @@
  */
 package org.opendaylight.controller.cluster.datastore.jmx.mbeans;
 
-
 /**
  * MXBean interface for data store configuration.
  *
@@ -48,17 +47,5 @@ public interface DatastoreConfigurationMXBean {
 
     boolean getTransactionContextDebugEnabled();
 
-    @Deprecated(forRemoval = true)
-    int getMaxShardDataChangeExecutorPoolSize();
-
-    @Deprecated(forRemoval = true)
-    int getMaxShardDataChangeExecutorQueueSize();
-
-    @Deprecated(forRemoval = true)
-    int getMaxShardDataChangeListenerQueueSize();
-
-    @Deprecated(forRemoval = true)
-    int getMaxShardDataStoreExecutorQueueSize();
-
     int getMaximumMessageSliceSize();
 }
index 1bef70a..ac3f30b 100644 (file)
@@ -114,30 +114,6 @@ public class DatastoreConfigurationMXBeanImpl extends AbstractMXBean implements
         return context.isTransactionDebugContextEnabled();
     }
 
-    @Override
-    @Deprecated(forRemoval = true)
-    public int getMaxShardDataChangeExecutorPoolSize() {
-        return 0;
-    }
-
-    @Override
-    @Deprecated(forRemoval = true)
-    public int getMaxShardDataChangeExecutorQueueSize() {
-        return 0;
-    }
-
-    @Override
-    @Deprecated(forRemoval = true)
-    public int getMaxShardDataChangeListenerQueueSize() {
-        return 0;
-    }
-
-    @Override
-    @Deprecated(forRemoval = true)
-    public int getMaxShardDataStoreExecutorQueueSize() {
-        return 0;
-    }
-
     @Override
     public int getMaximumMessageSliceSize() {
         return context.getMaximumMessageSliceSize();

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.