Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for invalidateAll (0.13 sec)

  1. guava/src/com/google/common/cache/Cache.java

       * Discards any cached values for keys {@code keys}.
       *
       * @since 11.0
       */
      // For discussion of <? extends Object>, see getAllPresent.
      void invalidateAll(Iterable<? extends Object> keys);
    
      /** Discards all entries in the cache. */
      void invalidateAll();
    
      /** Returns the approximate number of entries in this cache. */
      long size();
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/CleanUpVirtualFileSystemAfterBuild.java

                    userHomeServiceRegistry.getCurrentServices().ifPresent(serviceRegistry -> {
                        VirtualFileSystem virtualFileSystem = serviceRegistry.get(VirtualFileSystem.class);
                        virtualFileSystem.invalidateAll();
                    });
                }
            }
        }
    
        @Override
        public void stop() {
            // If we are shutting down, it's not important to finish cleaning the VFS
            executor.shutdownNow();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/AbstractVirtualFileSystem.java

                }
                versionHierarchyRoot = newVersionHierarchyRoot;
                return result;
            });
        }
    
        @Override
        public void invalidateAll() {
            LOGGER.debug("Invalidating the whole VFS");
            invalidate(Collections.singletonList(VfsRelativePath.ROOT));
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        getAll(cache, asList(46));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).contains(0);
      }
    
      public void testEviction_invalidateAll() {
        // test that .invalidateAll() resets total weight state correctly
        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/Cache.java

       * Discards any cached values for keys {@code keys}.
       *
       * @since 11.0
       */
      // For discussion of <? extends Object>, see getAllPresent.
      void invalidateAll(Iterable<? extends Object> keys);
    
      /** Discards all entries in the cache. */
      void invalidateAll();
    
      /** Returns the approximate number of entries in this cache. */
      long size();
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/FileSystemWatchingBuildActionRunner.java

        private static void dropVirtualFileSystemIfRequested(InternalOptions options, BuildLifecycleAwareVirtualFileSystem virtualFileSystem) {
            if (VirtualFileSystemServices.isDropVfs(options)) {
                virtualFileSystem.invalidateAll();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ValidateStep.java

            }
    
            if (!warnings.isEmpty()) {
                LOGGER.info("Invalidating VFS because {} failed validation", work.getDisplayName());
                virtualFileSystem.invalidateAll();
            }
    
            return delegate.execute(work, new ValidationFinishedContext(context, warnings));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        getAll(cache, asList(46));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).contains(0);
      }
    
      public void testEviction_invalidateAll() {
        // test that .invalidateAll() resets total weight state correctly
        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ValidateStepTest.groovy

                convertToSingleLine(renderMinimalInformationAbout(warnings.first(), false, false)) == expectedWarning
            })
            1 * virtualFileSystem.invalidateAll()
    
            then:
            1 * delegate.execute(work, { ValidationFinishedContext context ->
                convertToSingleLine(renderMinimalInformationAbout(context.validationProblems.first(), false, false)) == expectedWarning
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top