Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for refreshed (0.12 seconds)

  1. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        ConcurrentMap<String, String> map = cache.asMap();
        map.put(refreshKey, refreshKey);
        assertThat(map).hasSize(1);
        assertThat(map.containsKey(getKey)).isFalse();
        assertThat(map.get(refreshKey)).isSameInstanceAs(refreshKey);
    
        new Thread() {
          @Override
          public void run() {
            cache.getUnchecked(getKey);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

                Assertions.assertEquals(firstTime, observedTimes[i], "All threads should see same time due to volatile");
            }
        }
    
        /**
         * Test cache refresh mechanism with concurrent access.
         * Verifies that cache is refreshed correctly even with concurrent readers.
         */
        @Test
        public void test_cacheRefresh_withConcurrentReads() throws Exception {
            final int[] loadCount = { 0 };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        ConcurrentMap<String, String> map = cache.asMap();
        map.put(refreshKey, refreshKey);
        assertThat(map).hasSize(1);
        assertThat(map.containsKey(getKey)).isFalse();
        assertThat(map.get(refreshKey)).isSameInstanceAs(refreshKey);
    
        new Thread() {
          @Override
          public void run() {
            cache.getUnchecked(getKey);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            return designJspFileNameMap.entrySet().stream().map(e -> new Pair<>(e.getKey(), e.getValue())).toArray(n -> new Pair[n]);
        }
    
        /**
         * Refreshes the design JSP files for all virtual hosts.
         *
         * @return A list of paths to the refreshed files.
         */
        public List<Path> refreshDesignJspFiles() {
            final List<Path> fileList = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  5. guava/src/com/google/common/cache/LocalCache.java

         * Returns the newly refreshed value associated with {@code key} if it was refreshed inline, or
         * {@code null} if another thread is performing the refresh or if an error occurs during
         * refresh.
         */
        @CanIgnoreReturnValue
        @Nullable V refresh(K key, int hash, CacheLoader<? super K, V> loader, boolean checkTime) {
          LoadingValueReference<K, V> loadingValueReference =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

         * Returns the newly refreshed value associated with {@code key} if it was refreshed inline, or
         * {@code null} if another thread is performing the refresh or if an error occurs during
         * refresh.
         */
        @CanIgnoreReturnValue
        @Nullable V refresh(K key, int hash, CacheLoader<? super K, V> loader, boolean checkTime) {
          LoadingValueReference<K, V> loadingValueReference =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

                throw new SsoLoginException("Failed to get a token.", e);
            }
        }
    
        /**
         * Attempts to refresh tokens silently using the MSAL4J silent authentication flow.
         * @param user The Entra ID user whose tokens need to be refreshed.
         * @return The new authentication result, or null if silent refresh failed.
         */
        public IAuthenticationResult refreshTokenSilently(final EntraIdCredential.EntraIdUser user) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:03:27 GMT 2026
    - 56.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            }
        }
    
        /**
         * Refreshes the specified indices to make recent changes visible for search.
         *
         * @param indices the indices to refresh
         */
        public void refresh(final String... indices) {
            client.admin().indices().prepareRefresh(indices).execute(new ActionListener<RefreshResponse>() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  9. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

        }
        if (expireAfterAccess != null) {
          builder.expireAfterAccess(expireAfterAccess.duration, expireAfterAccess.unit);
        }
        if (refresh != null) {
          builder.refreshAfterWrite(refresh.duration, refresh.unit);
        }
        if (keyStrength != null) {
          builder.setKeyStrength(keyStrength);
        }
        if (valueStrength != null) {
          builder.setValueStrength(valueStrength);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                    webConfig.setId(id + "_refreshed");
                    return OptionalEntity.of(webConfig);
                }
    
                @Override
                public OptionalEntity<WebConfig> getWebConfigByName(String name) {
                    return OptionalEntity.empty();
                }
            }, WebConfigService.class.getCanonicalName());
    
            // Without refresh, should still get cached version
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 35.3K bytes
    - Click Count (0)
Back to Top