Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 128 of 128 for currentThread (0.06 sec)

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

      // NOTE: All durations in these tests are expressed in milliseconds
      @Override
      protected void setUp() {
        // Clear any previous interrupt before running the test.
        if (Thread.currentThread().isInterrupted()) {
          throw new AssertionError(
              "Thread interrupted on test entry. "
                  + "Some test probably didn't clear the interrupt state");
        }
    
        tearDownStack.addTearDown(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            short current = getSystemCpuPercent();
            if (current < percent) {
                return true;
            }
            final long startTime = getCurrentTimeAsLong();
            final String threadName = Thread.currentThread().getName();
            try {
                waitingThreadNames.add(threadName);
                while (current >= percent) {
                    if (timeoutInMillis > 0 && getCurrentTimeAsLong() - startTime > timeoutInMillis) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            // start
            AccessTimeoutTarget accessTimeoutTarget = null;
            TimeoutTask accessTimeoutTask = null;
            if (accessTimeout != null) {
                accessTimeoutTarget = new AccessTimeoutTarget(Thread.currentThread());
                accessTimeoutTask = TimeoutManager.getInstance().addTimeoutTarget(accessTimeoutTarget, accessTimeout, false);
            }
    
            try {
                return getResponseData(uri, includeContent);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                // this simply delays executing listeners
                try {
                  Thread.sleep(SECONDS.toMillis(10));
                } catch (InterruptedException ignored) {
                  Thread.currentThread().interrupt(); // preserve status
                }
              }
            };
        Thread t =
            new Thread() {
              @Override
              public void run() {
                f.set("foo");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                // this simply delays executing listeners
                try {
                  Thread.sleep(SECONDS.toMillis(10));
                } catch (InterruptedException ignored) {
                  Thread.currentThread().interrupt(); // preserve status
                }
              }
            };
        Thread t =
            new Thread() {
              @Override
              public void run() {
                f.set("foo");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            // start
            AccessTimeoutTarget accessTimeoutTarget = null;
            TimeoutTask accessTimeoutTask = null;
            if (accessTimeout != null) {
                accessTimeoutTarget = new AccessTimeoutTarget(Thread.currentThread());
                accessTimeoutTask = TimeoutManager.getInstance().addTimeoutTarget(accessTimeoutTarget, accessTimeout, false);
            }
    
            try {
                return processHttpMethod(url, httpRequest);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          assertThat(cache.getOrLoad("test")).isEqualTo("testLoad");
          reloadStarted.await();
          ticker.advance(500, MILLISECONDS); // so that the entry expires during the reload
          threadAboutToBlockForRefresh.set(Thread.currentThread());
          assertThat(cache.getOrLoad("test")).isEqualTo("testReload");
        } finally {
          refreshExecutor.shutdown();
        }
      }
    
      public void testSetRemovalListener() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

                            return this.treeHandle.acquire();
                        }
                        return this.treeHandle;
    
                    } catch (InterruptedException ie) {
                        Thread.currentThread().interrupt();
                        throw new SmbException("Connection retry interrupted", ie);
                    } catch (CIFSException retryException) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top