- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 332 for Executor (0.05 seconds)
-
guava-tests/test/com/google/common/graph/ValueGraphTest.java
graph.putEdgeValue(5, 6, "C"); int threadCount = 20; ExecutorService executor = newFixedThreadPool(threadCount); CyclicBarrier barrier = new CyclicBarrier(threadCount); ImmutableList.Builder<Future<?>> futures = ImmutableList.builder(); for (int i = 0; i < threadCount; i++) { futures.add( executor.submit( () -> { barrier.await();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 20.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.concurrent.CancellationException; import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.concurrent.locks.AbstractQueuedSynchronizer; import org.jspecify.annotations.NullUnmarked;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 13.8K bytes - Click Count (0) -
docs/recipes.md
=== ":material-language-kotlin: Kotlin" ```kotlin private val executor = Executors.newScheduledThreadPool(1) private val client = OkHttpClient() fun run() { val request = Request.Builder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 47.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
* <li>{@link #analyzer} - Suggest analyzer.</li> * <li>{@link #contentsParser} - Contents parser.</li> * <li>{@link #suggestWriter} - Suggest writer.</li> * <li>{@link #threadPool} - Executor service for thread pool.</li> * </ul> */ public class SuggestIndexer { private final static Logger logger = LogManager.getLogger(SuggestIndexer.class); /** The suggest analyzer. */
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 20.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/operations/ContentIndexingOperations.java
private final boolean parallel; /** * Constructor. * * @param client The OpenSearch client * @param settings The suggest settings * @param threadPool The executor service for async operations * @param indexingOps The indexing operations for writing items * @param contentsParser The contents parser for parsing documents * @param analyzer The suggest analyzerCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 21.7K bytes - Click Count (0) -
docs/smb3-features/03-multi-channel-design.md
public class ChannelFailover { private final ChannelManager manager; private final ExecutorService executor; private final Map<String, FailoverState> failoverStates; public ChannelFailover(ChannelManager manager) { this.manager = manager; this.executor = Executors.newCachedThreadPool(); this.failoverStates = new ConcurrentHashMap<>(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
*/ requireNonNull(futures); // Corner case: List is empty. if (futures.isEmpty()) { handleAllCompleted(); return; } // NOTE: If we ever want to use a custom executor here, have a look at CombinedFuture as we'll // need to handle RejectedExecutionException if (allMustSucceed) { // We need fail fast, so we have to keep track of which future failed so we can propagateCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PythonJobTest.java
String result = pythonJob.execute(); assertTrue(result.contains("Session Id:")); assertTrue(result.contains("Python Process terminated.")); } // Test execute with job executor @Test public void test_execute_withJobExecutor() { pythonJob.filename("test.py"); TestJobExecutor jobExecutor = new TestJobExecutor(); pythonJob.jobExecutor = jobExecutor;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 22.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
SmbTransportPoolImpl pool = new SmbTransportPoolImpl(); pool.setMaxPoolSize(100); int threadCount = 20; int operationsPerThread = 100; ExecutorService executor = Executors.newFixedThreadPool(threadCount); CountDownLatch startLatch = new CountDownLatch(1); CountDownLatch endLatch = new CountDownLatch(threadCount); AtomicLong totalTime = new AtomicLong(0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
assertTrue(result.contains("Session Id: " + existingSessionId)); assertEquals(existingSessionId, suggestJob.sessionId); } // Test execute method with job executor shutdown listener @Test public void test_execute_withJobExecutor() { createRequiredDirectories(); MockJobExecutor mockJobExecutor = new MockJobExecutor();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 31.6K bytes - Click Count (0)