- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 890 for thread (0.07 seconds)
-
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
takeEvent() } } private fun logEvent(e: ConnectionEvent) { if (e.connection != null) { assertThat(Thread.holdsLock(e.connection), "Called with lock $${e.connection}") .isFalse() } for (lock in forbiddenLocks) { assertThat(Thread.holdsLock(lock), "Called with lock $lock") .isFalse() } if (enforceOrder) { checkForStartEvent(e) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Callback.kt
/** * Called when the HTTP response was successfully returned by the remote server. The callback may * proceed to read the response body with [Response.body]. The response is still live until its * response body is [closed][ResponseBody]. The recipient of the callback may consume the response * body on another thread. * * Note that transport-layer success (receiving a HTTP response code, headers and body) does not
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java
import org.apache.maven.wagon.providers.file.FileWagon; import org.apache.maven.wagon.resource.Resource; /** * Wagon used for test cases that annotate some methods. Note that this is not a thread-safe implementation. */ public class TestFileWagon extends FileWagon { private TestTransferListener testTransferListener; private boolean insideGet; @DeprecatedCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/package-info.java
* <p> * This package contains the data model classes that represent the structure of Maven POM files. * These classes are immutable to ensure thread safety and prevent unintended modifications. * The root class is {@link org.apache.maven.api.model.Model}, which represents the entire POM. * <p> * Key components include: * <ul>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
* Stops background processing and waits for threads to complete. */ @PreDestroy public void destroy() { generating = false; thumbnailQueueThread.interrupt(); try { thumbnailQueueThread.join(10000); } catch (final InterruptedException e) { logger.warn("Thumbnail thread timed out.", e); } generatorList.forEach(g -> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 27.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ErrorToWarnRewritePolicyTest.java
.setLevel(Level.ERROR) .setMessage(new SimpleMessage("test message")) .setLoggerFqcn("test.class") .setThreadName("test-thread") .build(); LogEvent result = policy.rewrite(event); assertEquals(Level.WARN, result.getLevel()); assertEquals("test.logger", result.getLoggerName());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/Queues.java
} buffer.add(e); added++; } } } finally { if (interrupted) { Thread.currentThread().interrupt(); } } return added; } /** * Returns a synchronized (thread-safe) queue backed by the specified queue. In order to guarantee * serial access, it is critical that <b>all</b> access to the backing queue is accomplishedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 18K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMultiset.java
* invoke methods, they invoke methods on the {@code ForwardingMultiset}. * * <p>The {@code standard} methods and any collection views they return are not guaranteed to be * thread-safe, even when all of the methods that they depend on are thread-safe. * * @author Kevin Bourrillion * @author Louis Wasserman * @since 2.0 */ @GwtCompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestResult.java
/** * A record representing the result of a single request operation, containing the original request, * the result (if successful), and any error that occurred during processing. * <p> * This class is immutable and thread-safe, suitable for use in concurrent operations. * * @param <REQ> The type of the request * @param <REP> The type of the response, which must extend {@code Result<REQ>} * @param request The original request that was processed
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Queues.java
} buffer.add(e); added++; } } } finally { if (interrupted) { Thread.currentThread().interrupt(); } } return added; } /** * Returns a synchronized (thread-safe) queue backed by the specified queue. In order to guarantee * serial access, it is critical that <b>all</b> access to the backing queue is accomplishedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 18.2K bytes - Click Count (0)