Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for lastChecked (0.27 sec)

  1. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            }
            load();
        }
    
        public boolean isUpdated() {
            final long now = System.currentTimeMillis();
            if (now - lastChecked < checkInterval) {
                lastChecked = now;
                return false;
            }
            lastChecked = now;
    
            final long timestamp = propertiesFile.lastModified();
            if (timestamp <= lastModified) {
                return false;
            }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

            this.analyzer = analyzer;
    
            createSynonymMap(false);
        }
    
        public boolean isUpdate(final long time) {
            if (System.currentTimeMillis() - lastChecked > reloadInterval) {
                lastChecked = System.currentTimeMillis();
                final long timestamp = reloadableFile.lastModified();
                if (timestamp != time) {
                    synchronized (reloadableFile) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java

        public Tokenizer create() {
            return new TokenizerWrapper();
        }
    
        private void updateUserDictionary() {
            if (reloadableFile != null && System.currentTimeMillis() - lastChecked > reloadInterval) {
                lastChecked = System.currentTimeMillis();
                final long timestamp = reloadableFile.lastModified();
                if (timestamp != dictionaryTimestamp) {
                    synchronized (reloadableFile) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top