Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 681 for executes (0.03 sec)

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

        ScheduledExecutorService executor = newScheduledThreadPool(1);
        try {
          FluentFuture<?> f =
              FluentFuture.from(SettableFuture.create()).withTimeout(0, SECONDS, executor);
          ExecutionException e = assertThrows(ExecutionException.class, () -> f.get());
          assertThat(e).hasCauseThat().isInstanceOf(TimeoutException.class);
        } finally {
          executor.shutdown();
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            int sessionCount = 10;
            ExecutorService executor = Executors.newFixedThreadPool(5);
            CountDownLatch latch = new CountDownLatch(sessionCount);
    
            for (int i = 0; i < sessionCount; i++) {
                final int sessionIndex = i;
                executor.submit(() -> {
                    try {
                        String sessionId = "concurrent-session-" + sessionIndex;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.11.md

    * Added a 'kubeadm config migrate' command to convert old API types to their newer counterparts in the new, supported API types. This is just a client-side tool; it just executes locally without requiring a cluster to be running, operating in much the same way as a Unix pipe that upgrades config files. ([#64232](https://github.com/kubernetes/kubernetes/pull/64232), [@luxas](https://github.com/luxas))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 328.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java

    /**
     * An abstract {@code ScheduledExecutorService} that allows subclasses to {@linkplain
     * #wrapTask(Callable) wrap} tasks before they are submitted to the underlying executor.
     *
     * <p>Note that task wrapping may occur even if the task is never executed.
     *
     * @author Luke Sandberg
     */
    @J2ktIncompatible
    @GwtIncompatible
    abstract class WrappingScheduledExecutorService extends WrappingExecutorService
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheLoader.java

       * CacheLoader#reload} using {@code executor}.
       *
       * <p>This method is useful only when {@code loader.reload} has a synchronous implementation, such
       * as {@linkplain #reload the default implementation}.
       *
       * @since 17.0
       */
      @GwtIncompatible // Executor + Futures
      public static <K, V> CacheLoader<K, V> asyncReloading(
          CacheLoader<K, V> loader, Executor executor) {
        checkNotNull(loader);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          ListenableFuture<I> input,
          AsyncFunction<? super I, ? extends O> function,
          Executor executor) {
        AsyncTransformFuture<I, O> output = new AsyncTransformFuture<>(input, function);
        input.addListener(output, rejectionPropagatingExecutor(executor, output));
        return output;
      }
    
      static <I extends @Nullable Object, O extends @Nullable Object> ListenableFuture<O> create(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        @Override
        public String call() {
          return "foo";
        }
      }
    
      /** Simple same thread listening executor service that doesn't handle shutdown. */
      private static class TestListeningExecutorService extends AbstractListeningExecutorService {
    
        @Override
        public void execute(Runnable runnable) {
          assertThat(runnable).isInstanceOf(TrustedListenableFutureTask.class);
          runnable.run();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        @Override
        public String call() {
          return "foo";
        }
      }
    
      /** Simple same thread listening executor service that doesn't handle shutdown. */
      private static class TestListeningExecutorService extends AbstractListeningExecutorService {
    
        @Override
        public void execute(Runnable runnable) {
          assertThat(runnable).isInstanceOf(TrustedListenableFutureTask.class);
          runnable.run();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            String result = suggestJob.execute();
    
            assertTrue(result.contains("Session Id: " + existingSessionId));
            assertEquals(existingSessionId, suggestJob.sessionId);
        }
    
        // Test execute method with job executor shutdown listener
        public void test_execute_withJobExecutor() {
            createRequiredDirectories();
            MockJobExecutor mockJobExecutor = new MockJobExecutor();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/SecureKeyManagerTest.java

            CountDownLatch latch = new CountDownLatch(threadCount);
            AtomicInteger successCount = new AtomicInteger(0);
            ExecutorService executor = Executors.newFixedThreadPool(threadCount);
    
            for (int t = 0; t < threadCount; t++) {
                final int threadId = t;
                executor.submit(() -> {
                    try {
                        for (int i = 0; i < operationsPerThread; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top