Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_stop_volatileVisibility (0.35 seconds)

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

        }
    
        /**
         * Test stop() method sets alive to false and is visible to other threads.
         */
        @Test
        public void test_stop_volatileVisibility() throws Exception {
            assertTrue(dataStore.alive);
    
            final boolean[] observedValues = new boolean[10];
            final Thread[] threads = new Thread[10];
    
            // Call stop() in main thread
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
Back to Top