Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for WriterThread (0.12 seconds)

  1. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            }
    
            w.join(2000);
            assertFalse(w.isAlive(), "WriterThread should stop after -1 sentinel");
        }
    
        @Test
        @DisplayName("WriterThread surfaces SmbException via checkException")
        void writerThread_propagates_exception() throws Exception {
            // Arrange
            WriterThread w = new WriterThread();
            SmbFileOutputStream out = mock(SmbFileOutputStream.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbCopyUtil.java

            }
        }
    
    }
    
    class WriterThread extends Thread {
    
        private byte[] b;
        private int n;
        private boolean ready;
        private SmbFileOutputStream out;
    
        private SmbException e = null;
    
        WriterThread() {
            super("JCIFS-WriterThread");
            this.ready = false;
        }
    
        /**
         * @return the ready
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                }
            });
            writerThread.start();
    
            // Give threads a moment to reach the latch
            Thread.sleep(50);
    
            // Release all threads to start simultaneously
            startLatch.countDown();
    
            // Wait for writer thread to complete
            writerThread.join(1000);
    
            // Wait for all reader threads to complete
    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