Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for lastLoadedTime (0.07 seconds)

  1. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

         */
        protected volatile String[] dataStoreNames = StringUtil.EMPTY_STRINGS;
    
        /**
         * Timestamp of the last time data store names were loaded from plugin files.
         * Used to implement a time-based cache refresh mechanism.
         * Volatile to ensure visibility across threads.
         */
        protected volatile long lastLoadedTime = 0;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            // Trigger cache refresh by setting old time
            testFactory.lastLoadedTime = System.currentTimeMillis() - 70000L;
    
            // One thread updates
            Thread updater = new Thread(() -> {
                testFactory.getDataStoreNames();
            });
    
            updater.start();
            updater.join();
    
            // Multiple threads read the lastLoadedTime
            for (int i = 0; i < 10; i++) {
    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)
Back to Top