import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
import org.opendaylight.controller.md.sal.common.api.data.ReadFailedException;
import org.opendaylight.genius.utils.hwvtep.HwvtepNodeHACache;
+import org.opendaylight.infrautils.metrics.MetricProvider;
import org.opendaylight.netvirt.elan.l2gw.ha.HwvtepHAUtil;
import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node;
import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
private final Map<InstanceIdentifier<Node>, Set<Consumer<Optional<Node>>>> waitingJobs = new ConcurrentHashMap<>();
@Inject
- public HAOpClusteredListener(DataBroker db, HwvtepNodeHACache hwvtepNodeHACache) throws Exception {
- super(LogicalDatastoreType.OPERATIONAL, db, hwvtepNodeHACache);
+ public HAOpClusteredListener(DataBroker db, HwvtepNodeHACache hwvtepNodeHACache,
+ MetricProvider metricProvider) throws Exception {
+ super(LogicalDatastoreType.OPERATIONAL, db, hwvtepNodeHACache, metricProvider, false);
LOG.info("Registering HAOpClusteredListener");
}