Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 653 for threads (0.2 sec)

  1. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            }
        }
    
        /**
         * Applies delay based on the configured interval rules.
         * This method calculates the appropriate delay for the current time
         * and applies it by sleeping the current thread.
         */
        public void delayByRules() {
            final long delay = getDelay();
            if (delay > 0) {
                ThreadUtil.sleep(delay);
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     *
     * <p>The {@link org.apache.maven.api.Session} interface is the main entry point for Maven operations.
     * It maintains the state of a Maven execution and provides access to all core services and components.
     * Sessions are thread-safe and can be obtained in session-scoped components using the
     * {@link org.apache.maven.api.di.SessionScoped} annotation.</p>
     *
     * <p>Key capabilities provided through the Session include:</p>
     * <ul>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * comparable.
       *
       * <p>This method is safe to use even when {@code elements} is a synchronized or concurrent
       * collection that is currently being modified by another thread.
       *
       * @throws ClassCastException if the elements are not mutually comparable
       * @throws NullPointerException if any of {@code elements} is null
       * @since 7.0 (source-compatible since 2.0)
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            mockBhv.setTestData(testData);
    
            relatedQueryHelper.update();
            // Give a moment for async execution
            try {
                Thread.sleep(100);
            } catch (InterruptedException e) {
                // ignore
            }
    
            results = relatedQueryHelper.getRelatedQueries("test");
            assertEquals("updated", results[0]);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            mockBhv.setTestData(testData);
    
            relatedContentHelper.update();
            // Give a moment for async execution
            try {
                Thread.sleep(100);
            } catch (InterruptedException e) {
                // ignore
            }
    
            results = relatedContentHelper.getRelatedContents("test");
            assertEquals("Updated Content", results[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals(
            "Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents());
      }
    
      // NOTE: This test will always pass if register() is thread-safe but may also
      // pass if it isn't, though this is unlikely.
      public void testRegisterThreadSafety() throws Exception {
        List<StringCatcher> catchers = new CopyOnWriteArrayList<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbSessionTest.java

                java.util.concurrent.atomic.AtomicInteger successCount = new java.util.concurrent.atomic.AtomicInteger(0);
    
                for (int i = 0; i < 5; i++) {
                    new Thread(() -> {
                        try {
                            Configuration result = mockSession.getConfig();
                            if (result == mockConfig) {
                                successCount.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        try {
          transformResult = doTransform(localFunction, sourceResult);
        } catch (Throwable t) {
          restoreInterruptIfIsInterruptedException(t);
          // This exception is irrelevant in this thread, but useful for the client.
          setException(t);
          return;
        } finally {
          function = null;
        }
    
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. docs/smb3-features/06-witness-protocol-design.md

            
            // Wait briefly for witness notification before retrying
            try {
                Thread.sleep(2000);  // 2 second grace period
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
        }
        
        // Proceed with normal error handling/retry
        super.handleConnectionLoss(error);
    }
    ```
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

            // start
            AccessTimeoutTarget accessTimeoutTarget = null;
            TimeoutTask accessTimeoutTask = null;
            if (accessTimeout != null) {
                accessTimeoutTarget = new AccessTimeoutTarget(Thread.currentThread());
                accessTimeoutTask = TimeoutManager.getInstance().addTimeoutTarget(accessTimeoutTarget, accessTimeout, false);
            }
    
            try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
Back to top