Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for observedTimes (0.05 seconds)

  1. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            }
    
            // All threads should see the updated time (not 0 or the old value)
            long firstTime = observedTimes[0];
            assertTrue(firstTime > 0, "Time should be updated");
            for (int i = 1; i < 10; i++) {
                Assertions.assertEquals(firstTime, observedTimes[i], "All threads should see same time due to volatile");
            }
        }
    
        /**
    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