private void updateConfiguration(WatchedUpdateResult result) { for (WatchedUpdateListener l : listeners) { try { l.updateConfiguration(result); } catch (Throwable ex) { LOGGER.error("Error in invoking WatchedUpdateListener", ex); } } }
private void updateConfiguration(WatchedUpdateResult result) { for (WatchedUpdateListener l : listeners) { try { l.updateConfiguration(result); } catch (Throwable ex) { LOGGER.error("Error in invoking WatchedUpdateListener", ex); } } }
private void offer(WatchedUpdateResult event) { submit(() -> { listeners.stream().forEach(l -> l.updateConfiguration(event)); currentData.set(event.getComplete()); }); }
protected void fireEvent(WatchedUpdateResult result) { for (WatchedUpdateListener l : listeners) { try { l.updateConfiguration(result); } catch (Throwable ex) { logger.error("Error in invoking WatchedUpdateListener", ex); } } }
private void updateConfiguration(WatchedUpdateResult result) { for (WatchedUpdateListener l : listeners) { try { l.updateConfiguration(result); } catch (Throwable ex) { LOGGER.error("Error in invoking WatchedUpdateListener", ex); } } }
private void updateConfiguration(WatchedUpdateResult result) { for (WatchedUpdateListener l : listeners) { try { l.updateConfiguration(result); } catch (Throwable ex) { logger.error("Error in invoking WatchedUpdateListener", ex); } } }
protected void fireEvent(WatchedUpdateResult result) { for (WatchedUpdateListener l : listeners) { try { l.updateConfiguration(result); } catch (Throwable ex) { LOGGER.error("Error invoking WatchedUpdateListener", ex); } } }
@Nullable @Override public Void apply(@Nullable WatchedUpdateListener watchedUpdateListener) { watchedUpdateListener.updateConfiguration(WatchedUpdateResult.createFull(new HashMap<String, Object>())); return null; } });
private void offer(WatchedUpdateResult event) { submit(() -> { listeners.stream().forEach(l -> l.updateConfiguration(event)); currentData.set(event.getComplete()); }); }
private void offer(WatchedUpdateResult event) { submit(() -> { listeners.stream().forEach(l -> l.updateConfiguration(event)); currentData.set(event.getComplete()); }); }