X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=applications%2Fstatistics-manager%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fopenflowplugin%2Fapplications%2Fstatistics%2Fmanager%2Fimpl%2FStatisticsManagerImpl.java;h=9730643d9b3975b1ee58340792c798ac2d3c2c89;hb=5c3f50ee20b4899f763e42fa4d640717106dc0c0;hp=39294f8f2a9600312da7bff18d87184359c7e5c5;hpb=636fd4b5cdf0751c684b0c6996523a9fedb5c63a;p=openflowplugin.git diff --git a/applications/statistics-manager/src/main/java/org/opendaylight/openflowplugin/applications/statistics/manager/impl/StatisticsManagerImpl.java b/applications/statistics-manager/src/main/java/org/opendaylight/openflowplugin/applications/statistics/manager/impl/StatisticsManagerImpl.java index 39294f8f2a..9730643d9b 100644 --- a/applications/statistics-manager/src/main/java/org/opendaylight/openflowplugin/applications/statistics/manager/impl/StatisticsManagerImpl.java +++ b/applications/statistics-manager/src/main/java/org/opendaylight/openflowplugin/applications/statistics/manager/impl/StatisticsManagerImpl.java @@ -79,7 +79,7 @@ public class StatisticsManagerImpl implements StatisticsManager, Runnable { private AtomicInteger numNodesBeingCollected = new AtomicInteger(0); - private final DataBroker dataBroker; + private final DataBroker dataBroker; private final ExecutorService statRpcMsgManagerExecutor; private final ExecutorService statDataStoreOperationServ; private EntityOwnershipService ownershipService; @@ -117,12 +117,12 @@ public class StatisticsManagerImpl implements StatisticsManager, Runnable { rpcMsgManager = new StatRpcMsgManagerImpl(this, rpcRegistry, statManagerConfig.getMaxNodesForCollector()); statCollectors = Collections.emptyList(); nodeRegistrator = new StatNodeRegistrationImpl(this, dataBroker, notifService); - flowListeningCommiter = new StatListenCommitFlow(this, dataBroker, notifService); - meterListeningCommiter = new StatListenCommitMeter(this, dataBroker, notifService); - groupListeningCommiter = new StatListenCommitGroup(this, dataBroker, notifService); - tableNotifCommiter = new StatNotifyCommitTable(this, notifService); - portNotifyCommiter = new StatNotifyCommitPort(this, notifService); - queueNotifyCommiter = new StatListenCommitQueue(this, dataBroker, notifService); + flowListeningCommiter = new StatListenCommitFlow(this, dataBroker, notifService, nodeRegistrator); + meterListeningCommiter = new StatListenCommitMeter(this, dataBroker, notifService, nodeRegistrator); + groupListeningCommiter = new StatListenCommitGroup(this, dataBroker, notifService, nodeRegistrator); + tableNotifCommiter = new StatNotifyCommitTable(this, notifService, nodeRegistrator); + portNotifyCommiter = new StatNotifyCommitPort(this, notifService, nodeRegistrator); + queueNotifyCommiter = new StatListenCommitQueue(this, dataBroker, notifService, nodeRegistrator); statRpcMsgManagerExecutor.execute(rpcMsgManager); statDataStoreOperationServ.execute(this); @@ -410,5 +410,6 @@ public class StatisticsManagerImpl implements StatisticsManager, Runnable { public EntityOwnershipService getOwnershipService() { return this.ownershipService; } + }