@Test public void stop() { regCenter.addCacheData(CloudAppConfigurationNode.ROOT); ReflectionUtils.setFieldValue(cloudAppConfigurationListener, "regCenter", regCenter); cloudAppConfigurationListener.stop(); }
public void stop() { getCache().listenable().removeListener(this); }
CloudAppConfigurationListener implements CuratorCacheListener { public void stop() { getCache().listenable().removeListener(this); } }
CloudAppConfigurationListener implements CuratorCacheListener { public void stop() { getCache().listenable().removeListener(this); } CloudAppConfigurationListener(final CoordinatorRegistryCenter regCenter, final ProducerManager producerManager); }
CloudAppConfigurationListener implements CuratorCacheListener { public void stop() { getCache().listenable().removeListener(this); } CloudAppConfigurationListener(final CoordinatorRegistryCenter regCenter, final ProducerManager producerManager); @Override void event(final Type type, final ChildData oldData, final ChildData data); void start(); void stop(); }
CloudAppConfigurationListener implements CuratorCacheListener { public void stop() { getCache().listenable().removeListener(this); } CloudAppConfigurationListener(final CoordinatorRegistryCenter regCenter, final ProducerManager producerManager); @Override void event(final Type type, final ChildData oldData, final ChildData data); void start(); void stop();  }