/** * */ @Override public void start() { if (this.key == null) { addError("No key name was specified"); } super.start(); }
@Override public void start() { msgCache = new LRUMessageCache(cacheSize); super.start(); }
@Override public void start() { configurationWatchList = ConfigurationWatchListUtil.getConfigurationWatchList(context); if (configurationWatchList != null) { mainConfigurationURL = configurationWatchList.getMainURL(); if (mainConfigurationURL == null) { addWarn("Due to missing top level configuration file, automatic reconfiguration is impossible."); return; } List<File> watchList = configurationWatchList.getCopyOfFileWatchList(); long inSeconds = refreshPeriod / 1000; addInfo("Will scan for changes in [" + watchList + "] every " + inSeconds + " seconds. "); synchronized (configurationWatchList) { updateNextCheck(System.currentTimeMillis()); } super.start(); } else { addWarn("Empty ConfigurationWatchList in context"); } }
/** * */ @Override public void start() { if (this.key == null) { addError("No key name was specified"); } super.start(); }
@Override public void start() { msgCache = new LRUMessageCache(cacheSize); super.start(); }
@Override public void start() { configurationWatchList = ConfigurationWatchListUtil.getConfigurationWatchList(context); if (configurationWatchList != null) { mainConfigurationURL = configurationWatchList.getMainURL(); if(mainConfigurationURL == null) { addWarn("Due to missing top level configuration file, automatic reconfiguration is impossible."); return; } List<File> watchList = configurationWatchList.getCopyOfFileWatchList(); long inSeconds = refreshPeriod / 1000; addInfo("Will scan for changes in [" + watchList + "] every " + inSeconds + " seconds. "); synchronized (configurationWatchList) { updateNextCheck(System.currentTimeMillis()); } super.start(); } else { addWarn("Empty ConfigurationWatchList in context"); } }
@Override public void start() { msgCache = new LRUMessageCache(cacheSize); super.start(); }
/** * */ @Override public void start() { if (this.key == null) { addError("No key name was specified"); } super.start(); }
/** * */ @Override public void start() { if (this.key == null) { addError("No key name was specified"); } super.start(); }
/** * */ @Override public void start() { if (this.key == null) { addError("No key name was specified"); } super.start(); }
@Override public void start() { if (marker != null && marker.trim().length() > 0) { markerToAccept = MarkerFactory.getMarker(marker); super.start(); } } }
/** * */ @Override public void start() { if (this.key == null) { addError("No key name was specified"); } super.start(); }
@Override public void start() { msgCache = new LRUMessageCache(cacheSize); super.start(); }
@Override public void start() { msgCache = new LRUMessageCache(cacheSize); super.start(); }
/** * */ @Override public void start() { if (this.key == null) { addError("No key name was specified"); } super.start(); }
@Override public void start() { msgCache = new LRUMessageCache(cacheSize); super.start(); }
@Override public void start() { msgCache = new LRUMessageCache(cacheSize); super.start(); }
@Override public void start() { msgCache = new LRUMessageCache(cacheSize); super.start(); }
@Override public void start() { super.start(); if (!aggregatedLogger.isEmpty()) { ThreadFactory threadFactory = new ThreadFactoryBuilder() .setNameFormat("aggregating-filter-" + filterClassCounter.longValue() + "-thread-%d") .build(); filterClassCounter.increment(); executorService = Executors.newSingleThreadScheduledExecutor(threadFactory); executorService.scheduleAtFixedRate(this::report, 0L, getReportingIntervalMillis(), TimeUnit.MILLISECONDS); } }
@Override public void start() { if (this.keys.isEmpty()) { addWarn("No key was specified"); } if (this.matches.isEmpty()) { addWarn("No match was specified"); } super.start(); }