- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 501 for Runnable (0.05 seconds)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
* including adding URLs to the queue, filtering URLs, managing crawler threads, * and handling the overall crawling lifecycle. * * <p>It implements the Runnable interface to be executed in a separate thread, * and the AutoCloseable interface to ensure resources are properly released after use. * * <p>The crawler uses several services and components, such as UrlQueueService, DataService,
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 17K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java
T, E> extends FeatureSpecificTestSuiteBuilder<B, G> { private static final Logger logger = Logger.getLogger(PerCollectionSizeTestSuiteBuilder.class.getName()); /** Creates a runnable JUnit test suite based on the criteria already given. */ @Override public TestSuite createTestSuite() { checkCanCreate(); String name = getName(); // Copy this set, so we can modify it.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
return task; } /** * Executes {@code runnable} on the specified {@code executor}, returning a {@code Future} that * will complete after execution. * * @throws RejectedExecutionException if the task cannot be scheduled for execution * @since 28.2 */ public static ListenableFuture<@Nullable Void> submit(Runnable runnable, Executor executor) { TrustedListenableFutureTask<@Nullable Void> task =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
}; addCallback(f, callback, directExecutor()); } private static final class CountingSameThreadExecutor implements Executor { int runCount = 0; @Override public void execute(Runnable command) { command.run(); runCount++; } } private static final class MockCallback implements FutureCallback<String> { @Nullable private String value = null;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
} finally { monitor.leave(); } }); awaitUninterruptibly(enteredLatch); } @CanIgnoreReturnValue static Thread startThread(Runnable runnable) { Thread thread = new Thread(runnable); thread.setDaemon(true); thread.start(); return thread; } /** * Generates a test case verifying that calling any enterXxx, tryEnterXxx, or waitForXxx methodCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java
public String[] getPermissions() { return permissions; } } private static void assertThrows(final Class<? extends Throwable> expectedType, final Runnable runnable) { try { runnable.run(); throw new AssertionError("Expected " + expectedType.getSimpleName() + " to be thrown"); } catch (final Throwable t) { if (!expectedType.isInstance(t)) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 22.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/MIENameTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(counter::incrementAndGet); CyclicBarrier barrier = new CyclicBarrier(numThreads + 1); Runnable wrapper = () -> { awaitUnchecked(barrier); task.run(); awaitUnchecked(barrier); }; for (int j = 0; j < 10; j++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
return s == that.s; } return false; } } static class SameInterfaceInstance { private final Runnable s; public SameInterfaceInstance(Runnable s) { this.s = checkNotNull(s); } @Override public int hashCode() { return s.hashCode(); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 36.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
Service service = new TestService() { @Override protected Executor executor() { return new Executor() { @Override public void execute(Runnable command) {} }; } @Override protected String serviceName() { return "Foo"; } }; TimeoutException e =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 7.7K bytes - Click Count (0)