Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,293 for Spread (0.03 sec)

  1. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        assertThat(Thread.interrupted()).isTrue();
      }
    
      public void testInterrupt_doesNotInterruptSubsequentTask() throws Exception {
        // Run a task that interrupts its thread (i.e. this thread).
        e.execute(
            new Runnable() {
              @Override
              public void run() {
                Thread.currentThread().interrupt();
              }
            });
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            method.setAccessible(true);
    
            // Test with null thread
            try {
                method.invoke(crawler, (Thread) null);
            } catch (Exception e) {
                fail("Should not throw exception with null thread");
            }
    
            // Test with normal thread
            Thread testThread = new Thread(() -> {
                try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  3. docs/smb3-features/01-smb3-lease-design.md

            // This will be called when losing write cache
        }
        
        private void invalidateReadCache(String path) {
            // Implementation to invalidate read cache
            // This will be called when losing read cache
        }
    }
    ```
    
    ## 5. Lease Break Handling
    
    ### 5.1 Lease Break Notification
    ```java
    package jcifs.internal.smb2.lease;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/ThreadUtil.java

         *            the length of time to sleep in milliseconds
         * @throws InterruptedRuntimeException
         *             if any thread has interrupted the current thread.
         */
        public static void sleep(final long millis) {
            if (millis < 1L) {
                return;
            }
            try {
                Thread.sleep(millis);
            } catch (final InterruptedException e) {
                throw new InterruptedRuntimeException(e);
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exec/Crawler.java

                SingletonLaContainerFactory.init();
    
                final Thread shutdownCallback = new Thread("ShutdownHook") {
                    @Override
                    public void run() {
                        destroyContainer();
                    }
    
                };
                Runtime.getRuntime().addShutdownHook(shutdownCallback);
    
                commandThread = new Thread(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            // Simulate concurrent failures
            Thread[] threads = new Thread[5];
            for (int i = 0; i < threads.length; i++) {
                threads[i] = new Thread(() -> failover.handleFailure(failedChannel, error));
                threads[i].start();
            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                thread.join(1000);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

        }
    
        @Test
        void testConcurrentAccess() throws InterruptedException {
            // Test thread safety
            Thread[] threads = new Thread[10];
            for (int i = 0; i < threads.length; i++) {
                threads[i] = new Thread(() -> {
                    channelManager.getChannels();
                    channelManager.getHealthyChannels();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

      class Interruptenator extends Thread {
        final AtomicBoolean shutdown;
    
        Interruptenator(Thread interruptee) {
          this(interruptee, new AtomicBoolean(false));
        }
    
        @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
        Interruptenator(Thread interruptee, AtomicBoolean shutdown) {
          super(
              new Runnable() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                assertTrue(processHelper.isProcessRunning());
    
                // Wait a bit for the processes to start
                Thread.sleep(50);
    
                // Destroy all processes
                processHelper.destroy();
    
                // Wait a bit for destruction to complete
                Thread.sleep(100);
    
                assertFalse(processHelper.isProcessRunning());
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

            final ClassLoader context = Thread.currentThread().getContextClassLoader();
            try {
                final ClassLoader cl = new URLClassLoader(new URL[0], getClass().getClassLoader());
                Thread.currentThread().setContextClassLoader(cl);
                assertThat(ClassLoaderUtil.getClassLoader(TestCase.class), is(sameInstance(cl)));
            } finally {
                Thread.currentThread().setContextClassLoader(context);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top