@Test public void testClose() throws Exception { Mockito.verify(listenerRegistration, Mockito.never()).close(); listener.close(); Mockito.verify(listenerRegistration).close(); }
@Override public void close() throws Exception { LOG.debug("closing listener registration to {}", sxpDbPath); listenerRegistration.close(); }
MasterDatabaseBindingListenerImpl implements MasterDatabaseBindingListener { @Override public void close() throws Exception { LOG.debug("closing listener registration to {}", sxpDbPath); listenerRegistration.close(); } }
MasterDatabaseBindingListenerImpl implements MasterDatabaseBindingListener { @Override public void close() throws Exception { LOG.debug("closing listener registration to {}", sxpDbPath); listenerRegistration.close(); } MasterDatabaseBindingListenerImpl(final DataBroker dataBroker,
                                             final SxpMapperReactor sxpMapperReactor,
                                             final SimpleCachedDao<IpPrefix, MasterDatabaseBinding> masterDBBindingDaoCached,
                                             final DSAsyncDao<Sgt, EndpointPolicyTemplateBySgt> epPolicyTemplateDao,
                                             final DSAsyncDao<IpPrefix, EndpointForwardingTemplateBySubnet> epForwardingTemplateDao); }
MasterDatabaseBindingListenerImpl implements MasterDatabaseBindingListener { @Override public void close() throws Exception { LOG.debug("closing listener registration to {}", sxpDbPath); listenerRegistration.close(); } MasterDatabaseBindingListenerImpl(final DataBroker dataBroker,
                                             final SxpMapperReactor sxpMapperReactor,
                                             final SimpleCachedDao<IpPrefix, MasterDatabaseBinding> masterDBBindingDaoCached,
                                             final DSAsyncDao<Sgt, EndpointPolicyTemplateBySgt> epPolicyTemplateDao,
                                             final DSAsyncDao<IpPrefix, EndpointForwardingTemplateBySubnet> epForwardingTemplateDao); @Override void onDataTreeChanged(@Nonnull final Collection<DataTreeModification<MasterDatabaseBinding>> collection); @Override void close(); }
MasterDatabaseBindingListenerImpl implements MasterDatabaseBindingListener { @Override public void close() throws Exception { LOG.debug("closing listener registration to {}", sxpDbPath); listenerRegistration.close(); } MasterDatabaseBindingListenerImpl(final DataBroker dataBroker,
                                             final SxpMapperReactor sxpMapperReactor,
                                             final SimpleCachedDao<IpPrefix, MasterDatabaseBinding> masterDBBindingDaoCached,
                                             final DSAsyncDao<Sgt, EndpointPolicyTemplateBySgt> epPolicyTemplateDao,
                                             final DSAsyncDao<IpPrefix, EndpointForwardingTemplateBySubnet> epForwardingTemplateDao); @Override void onDataTreeChanged(@Nonnull final Collection<DataTreeModification<MasterDatabaseBinding>> collection); @Override void close(); static final FutureCallback<RpcResult<Void>> RPC_FW_RESULT_FUTURE_CALLBACK; }