Tabnine Logo
ConfigurationWatchList.changeDetected
Code IndexAdd Tabnine to your IDE (free)

How to use
changeDetected
method
in
ch.qos.logback.core.joran.spi.ConfigurationWatchList

Best Java code snippets using ch.qos.logback.core.joran.spi.ConfigurationWatchList.changeDetected (Showing top 12 results out of 315)

origin: ch.qos.logback/logback-classic

protected boolean changeDetected(long now) {
  if (now >= nextCheck) {
    updateNextCheck(now);
    return configurationWatchList.changeDetected();
  }
  return false;
}
origin: ch.qos.logback/logback-classic

if (!configurationWatchList.changeDetected()) {
  return;
origin: camunda/camunda-bpm-platform

protected boolean changeDetected(long now) {
 if (now >= nextCheck) {
  updateNextCheck(now);
  return configurationWatchList.changeDetected();
 }
 return false;
}
origin: tony19/logback-android

protected boolean changeDetected(long now) {
 if (now >= nextCheck) {
  updateNextCheck(now);
  return configurationWatchList.changeDetected();
 }
 return false;
}
origin: at.bestsolution.efxclipse.eclipse/ch.qos.logback.classic

protected boolean changeDetected(long now) {
 if (now >= nextCheck) {
  updateNextCheck(now);
  return configurationWatchList.changeDetected();
 }
 return false;
}
origin: com.impetus.fabric/fabric-jdbc-driver-shaded

protected boolean changeDetected(long now) {
  if (now >= nextCheck) {
    updateNextCheck(now);
    return configurationWatchList.changeDetected();
  }
  return false;
}
origin: Nextdoor/bender

protected boolean changeDetected(long now) {
  if (now >= nextCheck) {
    updateNextCheck(now);
    return configurationWatchList.changeDetected();
  }
  return false;
}
origin: io.virtdata/virtdata-lib-realer

protected boolean changeDetected(long now) {
  if (now >= nextCheck) {
    updateNextCheck(now);
    return configurationWatchList.changeDetected();
  }
  return false;
}
origin: tony19/logback-android

@Override
public void run() {
  fireEnteredRunMethod();
  ConfigurationWatchList configurationWatchList = ConfigurationWatchListUtil.getConfigurationWatchList(context);
  if (configurationWatchList == null) {
    addWarn("Empty ConfigurationWatchList in context");
    return;
  }
  List<File> filesToWatch = configurationWatchList.getCopyOfFileWatchList();
  if (filesToWatch == null || filesToWatch.isEmpty()) {
    addInfo("Empty watch file list. Disabling ");
    return;
  }
  if (!configurationWatchList.changeDetected()) {
    return;
  }
  fireChangeDetected();
  URL mainConfigurationURL = configurationWatchList.getMainURL();
  addInfo(DETECTED_CHANGE_IN_CONFIGURATION_FILES);
  addInfo(CoreConstants.RESET_MSG_PREFIX + "named [" + context.getName() + "]");
  LoggerContext lc = (LoggerContext) context;
  if (mainConfigurationURL.toString().endsWith("xml")) {
    performXMLConfiguration(lc, mainConfigurationURL);
  } else if (mainConfigurationURL.toString().endsWith("groovy")) {
    addError("Groovy classes are not available on the class path. ABORTING INITIALIZATION.");
  }
  fireDoneReconfiguring();
}
origin: com.impetus.fabric/fabric-jdbc-driver-shaded

if (!configurationWatchList.changeDetected()) {
  return;
origin: io.virtdata/virtdata-lib-realer

if (!configurationWatchList.changeDetected()) {
  return;
origin: Nextdoor/bender

if (!configurationWatchList.changeDetected()) {
  return;
ch.qos.logback.core.joran.spiConfigurationWatchListchangeDetected

Popular methods of ConfigurationWatchList

  • getMainURL
  • <init>
  • convertToFile
  • addAsFileToWatch
  • addInfo
  • addToWatchList
  • clear
  • getCopyOfFileWatchList
  • setContext
  • setMainURL
    The mainURL for the configuration file. Null values are allowed.
  • buildClone
  • buildClone

Popular in Java

  • Making http requests using okhttp
  • putExtra (Intent)
  • compareTo (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • JTable (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now