Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for clearCaches (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

                field.setAccessible(true);
            }
            field.set(bean, value);
        }
    
        /**
         * Clear all caches. Useful for testing or memory management.
         */
        public static void clearCaches() {
            METHOD_CACHE.clear();
            FIELD_CACHE.clear();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 12 14:59:46 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java

        @TearDown(Level.Trial)
        @AfterEach
        public void tearDown() {
            // Clear caches between trials (10-second periods) to allow cache benefits within each trial
            EnhancedCompositeBeanHelper.clearCaches();
        }
    
        @Benchmark
        public void benchmarkOriginalHelper() throws Exception {
            RealisticTestBean bean = new RealisticTestBean();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 07:40:49 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/SuggestJob.java

                    throw new JobProcessingException(out.toString());
                }
                ComponentUtil.getPopularWordHelper().clearCache();
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("SuggestCreator Process terminated.", e);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        }
    
        /**
         * Refreshes the suggest index.
         */
        public synchronized void refresh() {
            suggester.refresh();
            if (popularWordHelper != null) {
                popularWordHelper.clearCache();
            }
        }
    
        /**
         * Sets the interval for storing search logs.
         *
         * @param searchStoreInterval The search store interval in minutes.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                    throw new JobProcessingException(out.toString());
                }
                ComponentUtil.getPopularWordHelper().clearCache();
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("ThumbnailGenerator Process terminated.", e);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                } catch (final Exception e) {
                    logger.warn("Failed to restore " + urlQueue, e);
                }
            }));
        }
    
        /**
         * Clears the cache.
         */
        public void clearCache() {
            sessionCache.clear();
        }
    
        /**
         * Updates the session ID for all URL queue entries.
         *
         * @param oldSessionId The old session ID.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 16.9K bytes
    - Viewed (1)
  7. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            Mockito.when(mockConfig.getSessionLimit()).thenReturn(10);
    
            // Clear buffer cache for consistent test results
            BufferCache.clearCache();
        }
    
        /**
         * Test connection pool scalability with concurrent access
         */
        @Test
        public void testConnectionPoolConcurrentPerformance() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            } catch (final Exception e) {
                logger.warn("Failed to delete UrlFilter: sessionId={}", sid, e);
            }
    
            try {
                // clear queue
                urlQueueService.clearCache();
                urlQueueService.delete(sid);
            } catch (final Exception e) {
                logger.warn("Failed to delete UrlQueue: sessionId={}", sid, e);
            }
    
            try {
                // clear
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25K bytes
    - Viewed (0)
Back to top