Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for waitForNext (0.11 sec)

  1. src/main/java/org/codelibs/fess/helper/AbstractConfigHelper.java

    public abstract class AbstractConfigHelper {
    
        protected long reloadInterval = 1000L;
    
        public void update() {
            CommonPoolUtil.execute(this::load);
        }
    
        protected void waitForNext() {
            if (reloadInterval > 0) {
                ThreadUtil.sleep(reloadInterval);
            }
        }
    
        public abstract int load();
    
        public void setReloadInterval(final long reloadInterval) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                    } else if (logger.isDebugEnabled()) {
                        logger.debug("No KeyMatch boost docs");
                    }
    
                    waitForNext();
                } catch (final Exception e) {
                    logger.warn("Cannot load {}", keyMatch, e);
                }
            });
            this.keyMatchQueryMap = keyMatchQueryMap;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top