Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for clearCache (0.08 sec)

  1. guava/src/com/google/common/graph/MapIteratorCache.java

      final V put(K key, V value) {
        checkNotNull(key);
        checkNotNull(value);
        clearCache();
        return backingMap.put(key, value);
      }
    
      @CanIgnoreReturnValue
      @CheckForNull
      final V remove(Object key) {
        checkNotNull(key);
        clearCache();
        return backingMap.remove(key);
      }
    
      final void clear() {
        clearCache();
        backingMap.clear();
      }
    
      @CheckForNull
      V get(Object key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/MapRetrievalCache.java

          // [K1, K2, K1, K3, K1, K4...] still hits the cache half the time.
          addToCache(entry);
          return entry.value;
        }
        return null;
      }
    
      @Override
      void clearCache() {
        super.clearCache();
        cacheEntry1 = null;
        cacheEntry2 = null;
      }
    
      private void addToCache(K key, V value) {
        addToCache(new CacheEntry<K, V>(key, value));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/MapRetrievalCache.java

          // [K1, K2, K1, K3, K1, K4...] still hits the cache half the time.
          addToCache(entry);
          return entry.value;
        }
        return null;
      }
    
      @Override
      void clearCache() {
        super.clearCache();
        cacheEntry1 = null;
        cacheEntry2 = null;
      }
    
      private void addToCache(K key, V value) {
        addToCache(new CacheEntry<K, V>(key, value));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                    } catch (final Exception e) {
                        return null;
                    } finally {
                        final GroovyClassLoader loader = groovyShell.getClassLoader();
                        loader.clearCache();
                    }
                }
    
                @Override
                protected String getName() {
                    return Constants.DEFAULT_SCRIPT;
                }
            }.register();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/PythonJob.java

                    throw new JobProcessingException(out.toString());
                }
                ComponentUtil.getPopularWordHelper().clearCache();
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("Python Process terminated.", e);
            } finally {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

                return null;
            } finally {
                final GroovyClassLoader loader = groovyShell.getClassLoader();
                loader.clearCache();
            }
        }
    
        @Override
        protected String getName() {
            return "groovy";
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

                    } catch (final Exception e) {
                        return null;
                    } finally {
                        final GroovyClassLoader loader = groovyShell.getClassLoader();
                        loader.clearCache();
                    }
                }
    
                @Override
                protected String getName() {
                    return Constants.DEFAULT_SCRIPT;
                }
            }.register();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

                });
            } catch (final ExecutionException e) {
                logger.warn("Failed to load popular words.", e);
            }
            return Collections.emptyList();
        }
    
        public void clearCache() {
            cache.invalidateAll();
        }
    
        protected String getCacheKey(final String seed, final String[] tags, final String[] roles, final String[] fields,
                final String[] excludes) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/message/MessageFormatter.java

        }
    
        /**
         * 初期化します。
         */
        protected static synchronized void initialize() {
            if (!initialized) {
                DisposableUtil.add(() -> {
                    ResourceBundle.clearCache();
                    initialized = false;
                });
                initialized = true;
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            refresh();
        }
    
        public synchronized void refresh() {
            suggester.refresh();
            if (popularWordHelper != null) {
                popularWordHelper.clearCache();
            }
        }
    
        public void setSearchStoreInterval(final long searchStoreInterval) {
            this.searchStoreInterval = searchStoreInterval;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top