@Test public void test_NetworkElementsWrite_NoEP_NoOverwrite() throws Exception { NetworkElements nes = writeBaseNetworkElements(); NetworkElements networkElements = neProvider.getNetworkElements(); assertEquals(nes, networkElements); verifyEmptyLocations(); }
@VisibleForTesting synchronized NetworkElements getNetworkElements() { return networkElements; }
NeLocationProvider implements ClusteredDataTreeChangeListener<NetworkElements>, AutoCloseable { @VisibleForTesting synchronized NetworkElements getNetworkElements() { return networkElements; } }
NeLocationProvider implements ClusteredDataTreeChangeListener<NetworkElements>, AutoCloseable { @VisibleForTesting synchronized NetworkElements getNetworkElements() { return networkElements; } NeLocationProvider(DataBroker dataBroker); }
NeLocationProvider implements ClusteredDataTreeChangeListener<NetworkElements>, AutoCloseable { @VisibleForTesting synchronized NetworkElements getNetworkElements() { return networkElements; } NeLocationProvider(DataBroker dataBroker); @Override void close(); synchronized void onEndpointsChange(Collection<DataTreeModification<AddressEndpoint>> changes); @Override synchronized void onDataTreeChanged(Collection<DataTreeModification<NetworkElements>> changes); }
NeLocationProvider implements ClusteredDataTreeChangeListener<NetworkElements>, AutoCloseable { @VisibleForTesting synchronized NetworkElements getNetworkElements() { return networkElements; } NeLocationProvider(DataBroker dataBroker); @Override void close(); synchronized void onEndpointsChange(Collection<DataTreeModification<AddressEndpoint>> changes); @Override synchronized void onDataTreeChanged(Collection<DataTreeModification<NetworkElements>> changes); static final String NE_LOCATION_PROVIDER_NAME; }