use of org.opendaylight.openflowplugin.impl.registry.meter.DeviceMeterRegistryImpl in project openflowplugin by opendaylight.
the class DeviceContextImpl method lazyTransactionManagerInitialization.
@VisibleForTesting
void lazyTransactionManagerInitialization() {
if (!this.initialized.get()) {
if (LOG.isDebugEnabled()) {
LOG.debug("Transaction chain manager for node {} created", deviceInfo);
}
this.transactionChainManager = new TransactionChainManager(dataBroker, deviceInfo.getNodeId().getValue());
this.deviceFlowRegistry = new DeviceFlowRegistryImpl(deviceInfo.getVersion(), dataBroker, deviceInfo.getNodeInstanceIdentifier());
this.deviceGroupRegistry = new DeviceGroupRegistryImpl();
this.deviceMeterRegistry = new DeviceMeterRegistryImpl();
}
transactionChainManager.activateTransactionManager();
initialized.set(true);
}
Aggregations