@Test public void testRemoveBindingsMasterDatabase() throws Exception { assertNotNull(node.removeBindingsMasterDatabase(Collections.emptyList(), SxpNode.DEFAULT_DOMAIN)); }
@Override public List<MasterDatabaseBinding> removeBindingsMasterDatabase(List<MasterDatabaseBinding> bindings, String domainName) throws DomainNotFoundException { final org.opendaylight.sxp.core.SxpDomain sxpDomain = getDomain(domainName); if (sxpDomain == null) throw new DomainNotFoundException(getName(), domainName); Map<NodeId, SxpBindingFilter> filterMap = SxpDatabase.getInboundFilters(this, domainName); synchronized (sxpDomain) { svcBindingDispatcher.propagateUpdate(bindings, sxpDomain.getMasterDatabase() .addBindings(SxpDatabase.getReplaceForBindings(bindings, sxpDomain.getSxpDatabase(), filterMap)), getAllOnSpeakerConnections(domainName)); sxpDomain.pushToSharedMasterDatabases(bindings, Collections.emptyList()); } return bindings; }
SxpDatastoreNode extends org.opendaylight.sxp.core.SxpNode implements AutoCloseable { @Override public List<MasterDatabaseBinding> removeBindingsMasterDatabase(List<MasterDatabaseBinding> bindings, String domainName) throws DomainNotFoundException { final org.opendaylight.sxp.core.SxpDomain sxpDomain = getDomain(domainName); if (sxpDomain == null) throw new DomainNotFoundException(getName(), domainName); Map<NodeId, SxpBindingFilter> filterMap = SxpDatabase.getInboundFilters(this, domainName); synchronized (sxpDomain) { svcBindingDispatcher.propagateUpdate(bindings, sxpDomain.getMasterDatabase() .addBindings(SxpDatabase.getReplaceForBindings(bindings, sxpDomain.getSxpDatabase(), filterMap)), getAllOnSpeakerConnections(domainName)); sxpDomain.pushToSharedMasterDatabases(bindings, Collections.emptyList()); } return bindings; } }
SxpDatastoreNode extends org.opendaylight.sxp.core.SxpNode implements AutoCloseable { @Override public List<MasterDatabaseBinding> removeBindingsMasterDatabase(List<MasterDatabaseBinding> bindings, String domainName) throws DomainNotFoundException { final org.opendaylight.sxp.core.SxpDomain sxpDomain = getDomain(domainName); if (sxpDomain == null) throw new DomainNotFoundException(getName(), domainName); Map<NodeId, SxpBindingFilter> filterMap = SxpDatabase.getInboundFilters(this, domainName); synchronized (sxpDomain) { svcBindingDispatcher.propagateUpdate(bindings, sxpDomain.getMasterDatabase() .addBindings(SxpDatabase.getReplaceForBindings(bindings, sxpDomain.getSxpDatabase(), filterMap)), getAllOnSpeakerConnections(domainName)); sxpDomain.pushToSharedMasterDatabases(bindings, Collections.emptyList()); } return bindings; } protected  SxpDatastoreNode(NodeId nodeId, DatastoreAccess datastoreAccess, SxpNodeIdentity node); }
SxpDatastoreNode extends org.opendaylight.sxp.core.SxpNode implements AutoCloseable { @Override public List<MasterDatabaseBinding> removeBindingsMasterDatabase(List<MasterDatabaseBinding> bindings, String domainName) throws DomainNotFoundException { final org.opendaylight.sxp.core.SxpDomain sxpDomain = getDomain(domainName); if (sxpDomain == null) throw new DomainNotFoundException(getName(), domainName); Map<NodeId, SxpBindingFilter> filterMap = SxpDatabase.getInboundFilters(this, domainName); synchronized (sxpDomain) { svcBindingDispatcher.propagateUpdate(bindings, sxpDomain.getMasterDatabase() .addBindings(SxpDatabase.getReplaceForBindings(bindings, sxpDomain.getSxpDatabase(), filterMap)), getAllOnSpeakerConnections(domainName)); sxpDomain.pushToSharedMasterDatabases(bindings, Collections.emptyList()); } return bindings; } protected  SxpDatastoreNode(NodeId nodeId, DatastoreAccess datastoreAccess, SxpNodeIdentity node); static InstanceIdentifier<SxpNodeIdentity> getIdentifier(final String nodeId); static SxpDatastoreNode createInstance(NodeId nodeId, DatastoreAccess datastoreAccess,
            SxpNodeIdentity node); @Override boolean addDomain(SxpDomain domain); @Override SxpConnection addConnection(Connection connection, String domain); @Override List<MasterDatabaseBinding> putBindingsMasterDatabase(List<MasterDatabaseBinding> bindings,
            String domainName); @Override List<MasterDatabaseBinding> removeBindingsMasterDatabase(List<MasterDatabaseBinding> bindings,
            String domainName); DatastoreAccess getDatastoreAccess(); @Override synchronized ListenableFuture<Boolean> shutdown(); @Override void close(); }
SxpDatastoreNode extends org.opendaylight.sxp.core.SxpNode implements AutoCloseable { @Override public List<MasterDatabaseBinding> removeBindingsMasterDatabase(List<MasterDatabaseBinding> bindings, String domainName) throws DomainNotFoundException { final org.opendaylight.sxp.core.SxpDomain sxpDomain = getDomain(domainName); if (sxpDomain == null) throw new DomainNotFoundException(getName(), domainName); Map<NodeId, SxpBindingFilter> filterMap = SxpDatabase.getInboundFilters(this, domainName); synchronized (sxpDomain) { svcBindingDispatcher.propagateUpdate(bindings, sxpDomain.getMasterDatabase() .addBindings(SxpDatabase.getReplaceForBindings(bindings, sxpDomain.getSxpDatabase(), filterMap)), getAllOnSpeakerConnections(domainName)); sxpDomain.pushToSharedMasterDatabases(bindings, Collections.emptyList()); } return bindings; } protected  SxpDatastoreNode(NodeId nodeId, DatastoreAccess datastoreAccess, SxpNodeIdentity node); static InstanceIdentifier<SxpNodeIdentity> getIdentifier(final String nodeId); static SxpDatastoreNode createInstance(NodeId nodeId, DatastoreAccess datastoreAccess,
            SxpNodeIdentity node); @Override boolean addDomain(SxpDomain domain); @Override SxpConnection addConnection(Connection connection, String domain); @Override List<MasterDatabaseBinding> putBindingsMasterDatabase(List<MasterDatabaseBinding> bindings,
            String domainName); @Override List<MasterDatabaseBinding> removeBindingsMasterDatabase(List<MasterDatabaseBinding> bindings,
            String domainName); DatastoreAccess getDatastoreAccess(); @Override synchronized ListenableFuture<Boolean> shutdown(); @Override void close();  }