BUG-650: allow executor stats to work with other executors
authorRobert Varga <rovarga@cisco.com>
Sun, 14 Sep 2014 22:04:41 +0000 (00:04 +0200)
committerRobert Varga <rovarga@cisco.com>
Mon, 15 Sep 2014 12:08:05 +0000 (14:08 +0200)
commit31e1d5fe50f51b4af165e8fcd285dde012237e27
tree95a12c90194e778f4025e4e2953174f7da44ad04
parent9010751ae69381395e52f5660343ed020bffde00
BUG-650: allow executor stats to work with other executors

Instead of requiring a threadpool-backed executor, we make the
constructor private and introduce a static factory method.

Change-Id: I904b90a16d3664341e32cb0d982299fca3205f0d
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-common-util/src/main/java/org/opendaylight/controller/md/sal/common/util/jmx/ThreadExecutorStatsMXBeanImpl.java
opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/config/yang/md/sal/dom/impl/DomInmemoryDataBrokerModule.java
opendaylight/md-sal/sal-inmemory-datastore/src/main/java/org/opendaylight/controller/md/sal/dom/store/impl/jmx/InMemoryDataStoreStats.java