Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_aliveField_concurrentReadWrite (0.15 seconds)

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

        }
    
        /**
         * Test that multiple threads can safely read alive field while one writes.
         */
        @Test
        public void test_aliveField_concurrentReadWrite() throws Exception {
            dataStore.alive = true;
    
            final int readerCount = 5;
            final int iterations = 1000;
            final Thread[] readers = new Thread[readerCount];
    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