Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for Reload (0.03 sec)

  1. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        }
    
        public void test_update() {
            // Load data first
            protwordsFile.reload(null);
    
            // Get an existing item
            ProtwordsItem item = protwordsFile.get(1).get();
            item.setNewInput("updatedWord");
    
            // Update the item
            protwordsFile.update(item);
    
            // Verify the update
            protwordsFile.reload(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

        }
    
        // Test reload with InputStream
        public void test_reload_withComments() {
            String content = "# This is a comment\n" + "word1\n" + "\n" + // empty line
                    "word2\n" + "# Another comment\n" + "word3\n";
    
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
            stopwordsFile.reload(null, is);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheLoader.java

       * as {@linkplain #reload the default implementation}.
       *
       * @since 17.0
       */
      @GwtIncompatible // Executor + Futures
      public static <K, V> CacheLoader<K, V> asyncReloading(
          CacheLoader<K, V> loader, Executor executor) {
        checkNotNull(loader);
        checkNotNull(executor);
        return new CacheLoader<K, V>() {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheBuilder.java

       * of refreshes are specified in {@link LoadingCache#refresh}, and are performed by calling {@link
       * CacheLoader#reload}.
       *
       * <p>As the default implementation of {@link CacheLoader#reload} is synchronous, it is
       * recommended that users of this method override {@link CacheLoader#reload} with an asynchronous
       * implementation; otherwise refreshes will be performed during unrelated cache read and write
       * operations.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        CacheLoader<Object, Object> loader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) {
                return one;
              }
    
              @Override
              public ListenableFuture<Object> reload(Object key, Object oldValue) {
                return immediateFuture(two);
              }
            };
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            }
        }
    
        // Test reload with IOException
        public void test_reload_ioException() throws Exception {
            // This test verifies error handling during reload
            // Since we can't easily mock the IOException, we'll test with invalid data
            writeTestFile("invalid => "); // Invalid format
    
            try {
                charMappingFile.reload(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            final DynamicProperties systemProperties = ComponentUtil.getSystemProperties();
    
            if (StringUtil.isNotBlank(options.propertiesPath)) {
                systemProperties.reload(options.propertiesPath);
            } else {
                try {
                    final File propFile = ComponentUtil.getSystemHelper().createTempFile("thumbnail_", ".properties");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

            final DynamicProperties systemProperties = ComponentUtil.getSystemProperties();
    
            if (StringUtil.isNotBlank(options.propertiesPath)) {
                systemProperties.reload(options.propertiesPath);
            } else {
                try {
                    final File propFile = ComponentUtil.getSystemHelper().createTempFile("suggest_", ".properties");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

                propFile.deleteOnExit();
                DynamicProperties mockProperties = new DynamicProperties(propFile) {
                    @Override
                    public void reload(String path) {
                        // Mock implementation
                    }
                };
                ComponentUtil.register(mockProperties, "systemProperties");
    
                // Register mock system helper
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exec/Crawler.java

            final DynamicProperties systemProperties = ComponentUtil.getSystemProperties();
    
            if (StringUtil.isNotBlank(options.propertiesPath)) {
                systemProperties.reload(options.propertiesPath);
            } else {
                try {
                    final File propFile = ComponentUtil.getSystemHelper().createTempFile("crawler_", ".properties");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
Back to top