Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 108 for executorService (0.08 seconds)

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

        }
      }
    
      // TODO: If this test can ever depend on Mockito or the like, use it instead.
      private static final class MockExecutor implements ExecutorService {
        private String lastMethodCalled = "";
        private long lastTimeoutInMillis = -1;
        private final ExecutorService inline = newDirectExecutorService();
    
        void assertLastMethodCalled(String method) {
          assertEquals(method, lastMethodCalled);
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

        }
    
        /**
         * Generates thumbnails using the provided executor service.
         *
         * @param executorService the executor service for parallel processing
         * @param cleanup whether to run in cleanup mode
         * @return the number of tasks processed
         */
        public int generate(final ExecutorService executorService, final boolean cleanup) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 27K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.ExecutorService;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test case for {@link ListenableFutureTask}.
     *
     * @author Sven Mawson
     */
    @NullUnmarked
    public class ListenableFutureTaskTest extends TestCase {
    
      private ExecutorService exec;
    
      protected final CountDownLatch runLatch = new CountDownLatch(1);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

    import java.io.File;
    import java.io.PrintWriter;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    
    import org.apache.maven.jline.JLineMessageBuilderFactory;
    import org.eclipse.aether.DefaultRepositorySystemSession;
    import org.eclipse.aether.transfer.TransferCancelledException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

    import static org.mockito.Mockito.when;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:44:44 GMT 2025
    - 17K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/PreauthIntegrityTest.java

    import static org.mockito.Mockito.when;
    
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Future;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /** Tests for {@link ExecutionSequencer} */
    @NullUnmarked
    public class ExecutionSequencerTest extends TestCase {
    
      ExecutorService executor;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/Suggester.java

    import java.nio.charset.StandardCharsets;
    import java.time.ZonedDateTime;
    import java.time.format.DateTimeFormatter;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Objects;
    import java.util.concurrent.ExecutorService;
    import java.util.stream.Stream;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 21.6K bytes
    - Click Count (3)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

        /**
         * Attempt to enqueue this async call on [executorService]. This will attempt to clean up
         * if the executor has been shut down by reporting the call as failed.
         */
        fun executeOn(executorService: ExecutorService) {
          client.dispatcher.assertLockNotHeld()
    
          var success = false
          try {
            executorService.execute(this)
            success = true
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

    import java.util.Queue;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.CyclicBarrier;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executor;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Future;
    import java.util.concurrent.RejectedExecutionException;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top